/* Branded checkout overlay and payment method section. */
.cs-section{background:linear-gradient(145deg,#10142e,#1b1640 55%,#111734);padding:88px 0;border-top:1px solid #31365e;border-bottom:1px solid #343663}
.cs-section-chip{display:inline-flex;align-items:center;border:1px solid #5a4e93;border-radius:90px;padding:9px 15px;font-size:11px;font-weight:800;letter-spacing:1px;color:#c8b9ff;background:#302858}
.cs-pay-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:30px 0}
.cs-pay-feature{display:flex;gap:20px;align-items:flex-start;background:linear-gradient(135deg,#292450,#181d40);border:1px solid #504879;border-radius:19px;padding:29px 26px}
.cs-pay-feature:nth-child(2){background:linear-gradient(135deg,#222453,#1a1940)}
.cs-feature-icon{width:67px;height:67px;border-radius:17px;display:grid;place-items:center;flex:none;background:#3e3477;color:#cabaff;font-size:36px}
.cs-pay-feature>div:last-child{flex:1}.cs-pay-feature span{color:#9f99c6;font-size:10px;font-weight:800;letter-spacing:1.5px}
.cs-pay-feature h3{font-family:Outfit,sans-serif;font-size:26px;color:white;margin:7px 0 8px;letter-spacing:-.5px}
.cs-pay-feature p{color:#a9b5d7;font-size:13px;line-height:1.7;margin:0 0 22px;max-width:410px}
.cs-pay-feature .btn{font-size:12px;min-height:44px;padding:11px 17px}
.cs-token-strip{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:22px 0 42px}
.cs-token-strip>div{display:flex;align-items:center;gap:9px;border:1px solid #434269;background:#151c40;border-radius:13px;padding:13px 15px;color:white}
.cs-token-strip>div>span{display:grid;place-items:center;flex:none;width:31px;height:31px;font-size:20px;font-weight:800;background:var(--coin-color);color:#13213d;border-radius:100%}
.cs-token-strip strong{font-weight:800;font-size:13px}.cs-token-strip small{font-size:10px;color:#9faacf;margin-left:auto}
.cs-orders-header{display:flex;justify-content:space-between;align-items:center;gap:14px;padding-top:26px;border-top:1px solid #393b5d}
.cs-orders-header h3{font-family:Outfit,sans-serif;color:#fff;font-size:23px;margin:0 0 5px}.cs-orders-header p{color:#abb2d0;font-size:12px;margin:0}
.cs-order-count{font-size:10px;color:#b6a9e9;letter-spacing:1.5px;font-weight:800}
.cs-no-orders{padding:25px 20px;border:1px dashed #474a75;border-radius:13px;color:#a5adce;font-size:13px;margin-top:16px;text-align:center}
.cs-order-item{display:flex;align-items:center;gap:13px;background:#1a2042;border:1px solid #3d406d;border-radius:13px;padding:15px 18px;margin-top:10px;color:#fff}
.cs-order-item>div{flex:1}.cs-order-item strong{font-size:12px}.cs-order-item small{display:block;color:#9ca9c7;font-size:10px;margin-top:5px}.cs-order-icon{font-size:24px}
.cs-order-unpaid{font-size:10px;font-weight:800;color:#e8ca97;border:1px solid #6c5a57;padding:7px 10px;border-radius:99px;white-space:nowrap}
.cs-save-sample{margin-top:10px}.cs-checkout-open{overflow:hidden!important}
.cs-checkout-overlay{z-index:9999;position:fixed;inset:0;background:rgba(4,6,22,.86);backdrop-filter:blur(7px);display:flex;align-items:center;justify-content:center;padding:20px;overflow:auto}
.cs-dialog{width:min(680px,100%);max-height:min(94vh,1000px);overflow-y:auto;background:linear-gradient(145deg,#21214d,#101632);border:1px solid #5f548a;box-shadow:0 30px 95px #010315e8;border-radius:21px;color:#fff}
.cs-dialog-header{padding:23px 27px;display:flex;align-items:center;justify-content:space-between;gap:15px;background:#292552;border-bottom:1px solid #413b6a}
.cs-dialog-header span{color:#afa4e0;font-size:10px;font-weight:900;letter-spacing:1.5px}.cs-dialog-header h2{font-family:Outfit,sans-serif;font-size:27px;color:#fff;line-height:1.2;margin:6px 0 0}
.cs-dialog-close{cursor:pointer;flex:none;width:38px;height:38px;display:grid;place-items:center;border-radius:9px;background:#41386d;border:1px solid #6d5c9d;color:#fff;font-size:16px}
.cs-dialog-body{padding:25px 27px 29px}
.cs-checkout-top{display:flex;justify-content:space-between;gap:14px}.cs-mini-label,.cs-step-label{font-size:10px;font-weight:900;color:#bfb0f4;letter-spacing:1px}
.cs-step-label{color:#858fb4}.cs-checkout-intro h3{font-family:Outfit,sans-serif;font-size:27px;margin:15px 0 6px;color:#fff}.cs-checkout-intro p{color:#adb6d4;font-size:12px;line-height:1.6;margin:0 0 20px}
.cs-assets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
.cs-asset{cursor:pointer;display:flex;align-items:center;justify-content:flex-start;text-align:left;gap:9px;border:1px solid #454368;background:#141b3b;border-radius:12px;color:white;padding:11px 10px;min-width:0}
.cs-asset-active,.cs-asset:hover{background:#33306b;border-color:#a692ff;box-shadow:inset 0 0 0 1px #7765cc}.cs-asset-icon{background:var(--coin-color);color:#151b2d;width:31px;height:31px;flex:none;border-radius:50%;display:grid;place-items:center;font-size:19px;font-weight:900}
.cs-asset strong{display:block;font-size:12px}.cs-asset small{display:block;color:#9fa9c6;font-size:9px;margin-top:3px}.cs-chain-notice{display:flex;gap:9px;align-items:center;background:#162344;border:1px solid #395474;border-radius:10px;padding:12px 13px;margin:15px 0 19px}
.cs-chain-dot{background:#64cebb;width:8px;height:8px;flex:none;border-radius:100%;box-shadow:0 0 0 4px #64cebb24}.cs-chain-notice strong{font-size:12px;display:block;color:#d9f3fa}.cs-chain-notice small{display:block;color:#aab8ce;font-size:10px;margin-top:3px}
.cs-pay-methods{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cs-pay-method{display:grid;grid-template-columns:33px 1fr;grid-template-rows:auto auto;text-align:left;column-gap:7px;cursor:pointer;padding:15px;background:#161b3b;border:1px solid #43466f;border-radius:13px;color:white}
.cs-pay-method.is-current{background:#302959;border-color:#a28aff}.cs-pay-method>span{grid-row:span 2;grid-column:1;font-size:25px;color:#c4b1ff;align-self:center}.cs-pay-method strong{grid-column:2;font-size:13px}.cs-pay-method small{grid-column:2;color:#9faac7;margin-top:4px;font-size:10px}
.cs-address-card,.cs-wallet-card{background:#121a36;border:1px solid #414266;border-radius:13px;margin-top:14px;padding:16px}.cs-address-card-top{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:15px}.cs-address-card-top strong{font-size:13px}.cs-muted-tag{font-size:9px;font-weight:800;letter-spacing:.6px;color:#cab2f4;border:1px solid #554677;background:#2b2856;padding:6px 8px;border-radius:30px}
.cs-address-layout{display:flex;gap:17px;align-items:center}.cs-qr-container{width:135px;height:135px;flex:none;border-radius:12px;background:#fff;padding:6px;display:grid;place-items:center}.cs-qr-container img{width:122px;height:122px}.cs-qr-placeholder{width:100%;height:100%;display:grid;align-content:center;justify-items:center;gap:7px;background:repeating-linear-gradient(45deg,#f1edfb,#f1edfb 9px,#e5e0f5 9px,#e5e0f5 18px);border:1px dashed #b9aadd;color:#685794;border-radius:6px}.cs-qr-placeholder span{font-size:40px}.cs-qr-placeholder small{font-size:8px;font-weight:900;letter-spacing:1.5px}
.cs-address-fields{min-width:0;display:flex;flex-direction:column;align-items:flex-start;flex:1}.cs-address-fields>small{font-size:10px;color:#929fc3;margin-top:7px}.cs-address-fields strong{font-size:12px;color:#e1e5ff;margin-top:4px}.cs-address-fields code{font-size:11px;overflow-wrap:anywhere;color:#c6b4fa;margin-top:4px}.cs-copy{margin-top:12px!important;padding:9px 12px!important;min-height:34px!important;font-size:11px!important}
.cs-copy:disabled{opacity:.4;cursor:not-allowed}.cs-address-hint{font-size:10px;color:#9daac6;line-height:1.65;margin:13px 0 0}.cs-wallet-head{font-size:14px;font-weight:900}.cs-wallet-card p{font-size:12px;color:#aab7d5;line-height:1.7;margin:9px 0 13px}.cs-wallet-card .btn{min-height:38px;font-size:11px;padding:9px 13px}
.cs-review{padding:16px;background:#191b3b;border:1px solid #3d3f68;border-radius:13px;margin-top:15px}.cs-review>div{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 12px}.cs-review>div:last-child{border-top:1px solid #3b3c63;padding-top:12px;margin:0}.cs-review span{color:#a1adcc;font-size:11px}.cs-review strong{font-size:12px;color:white}.cs-number-preview{margin-top:14px;display:grid;gap:10px}.cs-number-preview>div{display:flex;align-items:center;justify-content:space-between;gap:11px}.cs-number-preview small{font-size:10px;color:#a5aed0}.cs-number-preview>div>span{display:flex;gap:5px}.cs-number-preview b{width:25px;height:25px;display:grid;place-items:center;border-radius:50%;font-size:11px;background:#5147aa;color:#fff}
.cs-checkout-legal{font-size:11px;line-height:1.65;color:#d7c9a0;background:#3a2e45;border:1px solid #77604d;border-radius:10px;padding:12px;margin:16px 0}.cs-order-cta{margin-top:7px}.cs-error{font-size:12px;color:#ffb6ad;margin-top:11px}
.cs-success-symbol{width:60px;height:60px;display:grid;place-items:center;background:#234c46;color:#9cf6dc;border-radius:50%;font-size:30px;margin:0 auto 15px}.cs-dialog-body>h3{font-size:23px;text-align:center;color:white}.cs-dialog-body>p{font-size:12px;line-height:1.7;text-align:center;color:#adb7cf}.cs-receipt{padding:16px;background:#151c3a;border:1px solid #3f3f6e;border-radius:12px;margin:18px 0}.cs-receipt>div{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:9px 0;color:#9faacb;font-size:11px}.cs-receipt strong{color:#fff;font-size:12px}.cs-footer-disclosure{font-size:10px;color:#a4add2}
@media(max-width:740px){.cs-pay-feature-grid{grid-template-columns:1fr}.cs-section{padding:58px 0}.cs-token-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.cs-dialog-body{padding:18px}.cs-dialog-header{padding:17px}.cs-assets{grid-template-columns:repeat(2,minmax(0,1fr))}.cs-pay-feature{padding:20px}.cs-order-item{flex-wrap:wrap}.cs-order-unpaid{margin-left:auto}}
@media(max-width:420px){.cs-address-layout{flex-direction:column;align-items:stretch}.cs-qr-container{margin:0 auto}.cs-pay-feature{gap:12px}.cs-feature-icon{width:48px;height:48px;font-size:26px}.cs-pay-feature h3{font-size:22px}.cs-token-strip small{display:none}.cs-dialog-header h2{font-size:22px}.cs-number-preview b{width:22px;height:22px;font-size:10px}.cs-pay-method strong{font-size:11px}.cs-checkout-overlay{padding:10px}}
/* Mainnet checkout extensions */
.cs-pay-method:disabled,.cs-order-cta:disabled{opacity:.5;cursor:not-allowed}
.cs-submit-tx{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.cs-submit-tx input{flex:1;min-width:180px;background:#0d1534;color:#fff;border:1px solid #575b89;border-radius:10px;padding:11px 12px;font:inherit;font-size:12px}
.cs-wallet-options{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}
.cs-wallet-options .btn{min-height:36px!important}
.cs-receipt strong{max-width:65%;overflow-wrap:anywhere;text-align:right}
.cs-checkout-legal strong{font-weight:800}
.cs-address-card code{line-height:1.5}
.cs-pay-method strong{line-height:1.25}
#cs-orders button{font-size:11px;min-height:35px;padding:7px 11px}
@media(max-width:500px){.cs-submit-tx{flex-direction:column}.cs-submit-tx input{width:100%;min-width:0;flex:auto}.cs-receipt>div{align-items:flex-start}.cs-receipt strong{font-size:11px}}

.cs-account-notice {background:#111b3e;border:1px solid #555b9a;padding:12px;border-radius:12px;font-size:12px;color:#d7def4;line-height:1.6}
.cs-account-notice a {color:#a7b8ff;font-weight:800;text-decoration:underline}

/* Invoice-scoped payment QR: enough physical pixels for long ERC-681 token requests. */
.cs-qr-container{width:220px;height:220px;padding:6px}
.cs-qr-container img{width:208px;height:208px;display:block;image-rendering:pixelated}
.cs-payment-unavailable{font-size:12px;line-height:1.6;color:#ffe0ab;background:#3a2e45;border:1px solid #77604d;border-radius:10px;padding:13px;margin:15px 0}
@media(max-width:500px){.cs-address-layout{flex-direction:column;align-items:stretch}.cs-qr-container{margin:0 auto}}

/* Country-aware manual purchase guidance: visual help only, no payment initiation. */
.cs-fiat-guide{margin:17px 0 20px;padding:19px;border:1px solid rgba(174,132,255,.45);border-radius:17px;background:radial-gradient(ellipse at 85% 0%,rgba(159,87,239,.20),transparent 52%),linear-gradient(145deg,#1d1c42,#141a37 80%);box-shadow:0 12px 25px rgba(6,7,25,.13);color:#e9e9ff;min-width:0}
.cs-fiat-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.cs-fiat-eyebrow{color:#b4a2ff;font-size:10px;font-weight:800;letter-spacing:1.8px}.cs-fiat-heading h4{font-family:Outfit,DM Sans,sans-serif;margin:7px 0 15px;font-size:19px;line-height:1.2;color:#fff}.cs-fiat-tag{white-space:nowrap;background:rgba(209,119,240,.11);border:1px solid rgba(211,148,255,.25);border-radius:40px;padding:7px 10px;color:#d2bcff;font-size:10px}
.cs-fiat-country{display:flex;flex-direction:column;gap:7px;color:#d5d5fc;font-size:11px;font-weight:700}.cs-fiat-country select{width:100%;min-height:44px;box-sizing:border-box;border-radius:10px;border:1px solid #5e588b;background:#121530;color:#fff;padding:10px 12px;font:inherit;font-size:13px;cursor:pointer}
.cs-fiat-country select:focus-visible{outline:2px solid #cca7ff;outline-offset:2px}.cs-fiat-country-note{color:#c0c7e9;font-size:12px;line-height:1.6;margin:12px 0 17px}.cs-fiat-provider-wrap>small{display:block;color:#bdb1df;font-weight:700;font-size:10px;letter-spacing:.3px;margin-bottom:8px}
.cs-fiat-providers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.cs-fiat-provider{display:flex;flex-direction:column;gap:6px;border:1px solid rgba(161,144,225,.4);border-radius:11px;padding:12px;background:rgba(130,102,211,.10);text-decoration:none!important;min-width:0;transition:background .25s,transform .25s,border-color .25s}.cs-fiat-provider:hover{background:rgba(150,100,230,.24);border-color:#af8ff3;transform:translateY(-2px)}.cs-fiat-provider strong{font-size:13px;color:#e8d9ff}.cs-fiat-provider small{font-size:11px;color:#b9c2df;line-height:1.45}.cs-fiat-provider-empty{color:#b9c2df;font-size:12px;line-height:1.5}
.cs-fiat-steps{padding-left:22px;margin:16px 0;color:#d3daef;font-size:12px;line-height:1.75}.cs-fiat-steps li{margin-bottom:8px;padding-left:3px}.cs-fiat-steps li::marker{color:#c39dff;font-weight:900}.cs-fiat-steps strong{color:#fff}.cs-fiat-caution,.cs-fiat-notlive{font-size:11px;line-height:1.6;margin:10px 0 0;padding:11px 12px;border-radius:10px;background:rgba(115,94,162,.18);color:#d0d7ef}.cs-fiat-notlive{background:rgba(165,109,50,.16);color:#ffe3ac;border:1px solid rgba(255,206,134,.21)}
@media(max-width:540px){.cs-fiat-guide{padding:13px}.cs-fiat-heading{flex-wrap:wrap}.cs-fiat-heading h4{font-size:17px}.cs-fiat-providers{grid-template-columns:1fr}.cs-fiat-steps{font-size:11px}}
@media(prefers-reduced-motion:reduce){.cs-fiat-provider{transition:none}.cs-fiat-provider:hover{transform:none}}

/* Manual Transfer sub-options: one invoice, two ways to obtain/send crypto. */
.cs-manual-chooser{margin:16px 0 12px;padding:15px;border:1px solid rgba(164,137,243,.38);border-radius:16px;background:linear-gradient(130deg,rgba(90,67,160,.20),rgba(14,22,55,.30))}
.cs-manual-choice-heading{display:flex;align-items:baseline;justify-content:space-between;gap:9px;flex-wrap:wrap;margin-bottom:13px}
.cs-manual-choice-heading strong{font-family:Outfit,DM Sans,sans-serif;font-size:15px;line-height:1.3;color:#fff}
.cs-manual-choice-heading small{font-size:10px;line-height:1.5;color:#aebcdd}
.cs-manual-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.cs-manual-choice{display:flex;gap:11px;text-align:left;align-items:flex-start;min-width:0;min-height:98px;padding:14px 12px;cursor:pointer;color:#f7f4ff;background:#121a39;border:1px solid #474369;border-radius:13px;transition:background .16s,border-color .16s,box-shadow .16s,transform .16s}
.cs-manual-choice:hover{background:#23204b;transform:translateY(-2px)}
.cs-manual-choice.is-selected{border-color:#bd8aff;background:linear-gradient(140deg,rgba(101,69,173,.38),rgba(38,36,85,.7));box-shadow:0 0 0 1px rgba(194,135,255,.25),0 6px 24px rgba(95,70,181,.2)}
.cs-manual-choice:focus-visible{outline:3px solid #d2b5ff;outline-offset:3px}
.cs-manual-choice-icon{display:grid;place-items:center;flex:none;font-size:23px;color:#c6aaff;width:34px;height:34px;background:rgba(148,109,231,.14);border-radius:10px}
.cs-manual-choice strong,.cs-manual-choice small{display:block;overflow-wrap:anywhere}
.cs-manual-choice strong{font-size:12px;font-weight:850;line-height:1.4}.cs-manual-choice small{margin-top:5px;font-size:10px;line-height:1.55;color:#b6c1e0}
@media(max-width:570px){.cs-manual-chooser{padding:12px}.cs-manual-choice-grid{grid-template-columns:1fr}.cs-manual-choice{min-height:0;padding:12px}.cs-manual-choice-heading{display:block}.cs-manual-choice-heading small{display:block;margin-top:5px}}
@media(prefers-reduced-motion:reduce){.cs-manual-choice{transition:none}.cs-manual-choice:hover{transform:none}}

/* LAUNCH MOBILE ONLY: checkout header is always reachable, body scrolls internally. */
@media (max-width:740px){
 .cs-checkout-overlay{align-items:stretch;justify-content:center;overflow:hidden;box-sizing:border-box;padding:calc(8px + env(safe-area-inset-top,0px)) max(8px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));height:100vh;height:100dvh}
 .cs-dialog{width:100%;height:100%;min-height:0;max-height:none;display:flex;flex-direction:column;overflow:hidden;border-radius:16px}
 .cs-dialog-header{position:relative;flex:0 0 auto;z-index:3;padding:13px 15px;background:#292552;box-shadow:0 5px 18px #06071b55}
 .cs-dialog-header h2{font-size:clamp(20px,5.6vw,25px);margin-top:4px}
 .cs-dialog-close{height:46px;width:46px;min-height:46px;min-width:46px;touch-action:manipulation}
 .cs-dialog-body{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding:17px 14px calc(25px + env(safe-area-inset-bottom,0px))}
 .cs-pay-methods,.cs-manual-choice-grid{min-width:0}
 .cs-pay-method,.cs-manual-choice{min-width:0}
 .cs-asset,.cs-pay-method{min-height:48px}
 .cs-receipt strong,.cs-address-fields code{overflow-wrap:anywhere;word-break:break-word;text-align:right}
 .cs-checkout-top{flex-wrap:wrap;row-gap:5px}
}
@media(max-width:390px){.cs-dialog-body{padding-inline:11px}.cs-pay-method{padding:11px 8px}.cs-pay-method small{font-size:9px}}


/* Checkout recovery: fixed viewport dialog above every language/menu/hero overlay.
   The empty root never covers the rest of the website. */
#cs-checkout-layer:empty{display:none!important;pointer-events:none!important}
#cs-checkout-layer:not(:empty){position:fixed!important;inset:0!important;width:100vw!important;height:100vh!important;height:100dvh!important;display:block!important;z-index:2147483645!important;isolation:isolate!important;transform:none!important;pointer-events:auto!important}
#cs-checkout-layer > .cs-checkout-overlay{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;box-sizing:border-box!important;z-index:1!important;transform:none!important;display:flex!important;}
#cs-checkout-layer .cs-dialog{position:relative!important;isolation:isolate!important;z-index:2!important;box-sizing:border-box!important;min-width:0!important}
#cs-checkout-layer .cs-dialog-header{position:sticky!important;top:0!important;z-index:8!important;min-height:70px!important;box-sizing:border-box!important;}
#cs-checkout-layer .cs-dialog-close{position:relative!important;display:grid!important;place-items:center!important;flex:none!important;width:48px!important;height:48px!important;min-width:48px!important;min-height:48px!important;z-index:9!important;cursor:pointer!important;pointer-events:auto!important;touch-action:manipulation!important}
#cs-checkout-layer [data-pay]{pointer-events:auto!important;touch-action:manipulation}
body.cs-checkout-open .cs-locale-wrap{visibility:hidden!important;pointer-events:none!important}
@media (max-width:740px){
 #cs-checkout-layer .cs-checkout-overlay{align-items:stretch!important;justify-content:center!important;overflow:hidden!important;padding:calc(8px + env(safe-area-inset-top,0px)) max(8px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px))!important}
 #cs-checkout-layer .cs-dialog{width:100%!important;max-width:none!important;min-height:0!important;max-height:none!important;height:100%!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;}
 #cs-checkout-layer .cs-dialog-body{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch!important;}
 #cs-checkout-layer .cs-dialog-header{flex:none!important;}
}

/* Do not reveal account-specific payment activity to signed-out visitors. */
#payment-options .cs-orders-header[hidden],#payment-options #cs-orders[hidden]{display:none!important}

/* iOS native language picker must not overlay either checkout or its close X. */
body.cs-checkout-open > .cs-locale-wrap,
body.cs-checkout-open #cs-language-select {display:none!important;visibility:hidden!important;pointer-events:none!important}
#cs-checkout-layer .cs-dialog-close{isolation:isolate!important;z-index:100!important}

/* Native modal checkout: the browser top layer, never an ordinary z-index stack. */
html body dialog#cs-checkout-layer.cs-checkout-native-dialog{
 position:fixed!important;inset:0!important;margin:0!important;padding:0!important;
 width:100vw!important;max-width:none!important;height:100vh!important;height:100dvh!important;max-height:none!important;
 border:0!important;background:transparent!important;color:#fff!important;box-shadow:none!important;
 overflow:hidden!important;overscroll-behavior:contain!important;z-index:2147483647!important;
}
dialog#cs-checkout-layer.cs-checkout-native-dialog::backdrop{background:rgba(5,6,22,.89)!important}
dialog#cs-checkout-layer:not([open]){display:none!important}
dialog#cs-checkout-layer[open]{display:block!important}
dialog#cs-checkout-layer > .cs-checkout-overlay{
 position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
 max-height:none!important;z-index:1!important;overflow:hidden!important;box-sizing:border-box!important;
}
dialog#cs-checkout-layer .cs-dialog{position:relative!important;z-index:2!important}
@media(max-width:740px){
 dialog#cs-checkout-layer .cs-checkout-overlay{padding:calc(12px + env(safe-area-inset-top,0px)) 12px calc(12px + env(safe-area-inset-bottom,0px))!important}
 dialog#cs-checkout-layer .cs-dialog{max-height:100%!important;min-height:0!important;height:100%!important;display:flex!important;flex-direction:column!important;}
 dialog#cs-checkout-layer .cs-dialog-header{position:relative!important;top:auto!important;flex:none!important;min-height:66px!important;}
 dialog#cs-checkout-layer .cs-dialog-body{overflow-y:auto!important;overflow-x:hidden!important;flex:1 1 auto!important;min-height:0!important;-webkit-overflow-scrolling:touch!important;}
 dialog#cs-checkout-layer .cs-dialog-close{position:relative!important;flex:none!important;align-self:center!important;}
}

/* Section 16: Permanent card-to-crypto selector. Does not modify ticket checkout. */
#cs-card-onramp.cs16-onramp{margin:24px 0 22px;padding:24px;border:1px solid #5d527f;border-radius:19px;background:linear-gradient(135deg,#26214c 0%,#191e44 58%,#161c3e 100%);color:#f7f4ff}
.cs16-onramp-head{display:flex;align-items:start;justify-content:space-between;gap:14px}
.cs16-onramp-head h3{font:800 clamp(21px,2.5vw,30px)/1.2 Outfit,system-ui,sans-serif;color:#fff;margin:6px 0 9px}
.cs16-onramp-head p{max-width:790px;color:#bdc4dc;font-size:13px;line-height:1.65;margin:0}
.cs16-kicker{letter-spacing:.17em;font-size:10px;font-weight:900;color:#cbb8ff}
.cs16-card-icon{flex:none;width:56px;height:56px;border:1px solid #665ca2;background:#43366b;border-radius:14px;display:grid;place-items:center;font-size:30px;color:#f6e3ff}
.cs16-methods{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin:17px 0}
.cs16-methods span{font-size:11px;font-weight:800;color:#ede7ff;padding:7px 10px;background:#353060;border:1px solid #6c5d93;border-radius:7px}
.cs16-methods small{font-size:10px;color:#aeb9d4}
.cs16-provider-chooser{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.cs16-provider{border:1px solid #56577e;background:#1c2244;color:#fff;padding:14px 15px;min-height:69px;border-radius:12px;text-align:left;cursor:pointer;transition:border-color .18s,background .18s}
.cs16-provider:hover,.cs16-provider:focus-visible{border-color:#c7b4ff;outline-offset:2px}
.cs16-provider.is-selected{background:#44336f;border-color:#c7afff;box-shadow:inset 0 0 0 1px #9f81ed}
.cs16-provider strong,.cs16-provider span{display:block}.cs16-provider strong{font-size:15px}.cs16-provider span{color:#b9c3dd;font-size:10px;margin-top:5px}
.cs16-provider.is-selected span{color:#d8c9ff}
.cs16-provider-result{margin:14px 0 0;padding:16px;background:#111934;border-radius:12px;border:1px solid #3a3f68;display:flex;align-items:center;justify-content:space-between;gap:15px}
.cs16-provider-result strong{font-size:14px;color:#fff}.cs16-provider-result p{color:#b3bfdc;line-height:1.55;font-size:11px;margin:7px 0 0}
.cs16-provider-result .btn{flex:none;white-space:nowrap;max-width:100%;text-align:center}
.cs16-disclaimer{font-size:10px;color:#a5b0ce;line-height:1.7;margin:12px 0 0}
@media(max-width:760px){#cs-card-onramp.cs16-onramp{padding:19px 15px}.cs16-provider-result{flex-direction:column;align-items:stretch}.cs16-provider-result .btn{width:100%}}
@media(max-width:460px){.cs16-card-icon{display:none}.cs16-provider-chooser{grid-template-columns:1fr}.cs16-provider{min-height:53px;padding:10px 13px}.cs16-provider strong,.cs16-provider span{display:inline}.cs16-provider span{float:right;margin-top:4px}.cs16-methods small{width:100%}}
