.purchase-confirmation{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(440px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:0;overflow:hidden;border:1px solid #405260;border-radius:20px;background:#111820;color:#eff5fb;box-shadow:0 24px 90px #0009;text-align:left}
.purchase-confirmation[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.purchase-confirmation::backdrop{background:#030609c9;backdrop-filter:blur(5px)}
.purchase-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 20px 12px}.purchase-dialog-heading h2{font-size:21px;margin:0;line-height:1.25}.purchase-close{background:transparent;border:0;color:#b8cddd;font-size:27px;cursor:pointer;min-width:36px;min-height:36px}
.purchase-dialog-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 20px 16px}.purchase-card-name{display:flex;justify-content:space-between;gap:16px;font-size:13px;margin-bottom:12px}.purchase-card-name span{color:#aabccb}.purchase-card-name strong{overflow-wrap:anywhere;text-align:right;max-width:65%}
.purchase-wallet{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;padding:12px 14px;border:1px solid #344451;border-radius:10px;color:#b8cddd}.purchase-wallet strong{font-size:18px;color:#eff5fb;white-space:nowrap}
.purchase-choices{border:0;padding:0;margin:16px 0;display:grid;gap:8px;min-width:0}.purchase-choices legend{font-size:13px;padding:0;margin-bottom:8px;color:#b8cddd}.purchase-choices label{display:flex!important;align-items:center;gap:12px;border:1px solid #394957;border-radius:12px;padding:12px!important;margin:0!important;font-size:13px;cursor:pointer}.purchase-choices label:has(:checked){background:#223442;border-color:#b6c9dc}.purchase-choices label:has(:disabled){opacity:.55}.purchase-choices input{width:17px!important;height:17px;min-height:0;margin:0;accent-color:#b6c9dc;flex:0 0 auto}.purchase-choices label>span{flex:1;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 10px;align-items:center}.purchase-choices strong{font-size:20px;white-space:nowrap;font-variant-numeric:tabular-nums}.purchase-choices small{grid-column:1/-1;font-size:11px;color:#aabccb;line-height:1.4}
.purchase-breakdown{margin:0}.purchase-breakdown>div{display:flex;justify-content:space-between;gap:16px;padding:6px 0;font-size:13px}.purchase-breakdown dt{color:#b8cddd}.purchase-breakdown dd{margin:0;text-align:right;max-width:50%;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.purchase-breakdown .purchase-total{background:#223442;border-radius:10px;padding:14px;margin:10px 0 6px;align-items:center;font-weight:700}.purchase-total dt{color:#eff5fb}.purchase-total dd{font-size:23px;white-space:nowrap}.purchase-error{color:#ffb5b5;font-size:13px;line-height:1.5;margin:10px 0 0}
.purchase-dialog-actions{display:flex;gap:10px;padding:14px 20px max(14px,env(safe-area-inset-bottom));border-top:1px solid #344451;background:#111820}.purchase-dialog-actions .button{flex:1;min-width:0;justify-content:center;min-height:44px;padding:10px;font-size:13px;line-height:1.3;white-space:normal;text-align:center}.purchase-dialog-actions .button:last-child{flex:1.5}.purchase-confirmation button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:380px){.purchase-dialog-heading{padding:12px 14px 8px}.purchase-dialog-heading h2{font-size:18px}.purchase-dialog-body{padding:0 14px 12px}.purchase-dialog-actions{padding:12px 14px}.purchase-wallet{padding:10px}.purchase-choices strong{font-size:18px}.purchase-total dd{font-size:21px}.purchase-choices label>span{grid-template-columns:minmax(0,1fr) auto}}

.purchase-dialog-actions{flex-wrap:wrap}.purchase-dialog-actions .purchase-add-money{flex:1 0 100%;background:#b6c9dc;color:#101820}.purchase-dialog-actions .purchase-add-money[hidden]{display:none!important}
