main:has(> .payment-methods) { background:#0c0b1c; padding-inline:0; min-height:calc(100dvh - var(--mast)); }
.page.payment-methods { max-width:640px; margin:auto; padding:0 20px calc(32px + env(safe-area-inset-bottom)); color:white; }
.pm-tools { display:flex; align-items:center; justify-content:space-between; }
.payment-methods form { margin:0; }
.payment-methods .form-status:not(:empty) { font-size:13px; margin:4px 0; }
.pm-refresh .button, .pm-default .button { border:0; background:transparent; color:#c4aeff; font-size:14px; padding:0; }
.pm-refresh .button { padding-inline:8px; }
.pm-list { display:grid; gap:20px; }
.pm-section h2 { color:#ffffffa6; margin:0 8px 8px; font-size:14px; font-weight:400; }
.payment-methods .pm-rows { gap:0; padding-block:0; }
.pm-row { min-width:0; display:flex; gap:12px; align-items:center; padding:14px 0; }
.pm-row:first-child { padding-top:20px; }
.pm-row:last-child { padding-bottom:20px; }
.pm-row + .pm-row { border-top:1px solid #1d1841; }
.pm-copy { min-width:0; flex:1; overflow-wrap:anywhere; }
.pm-copy h3, .pm-empty h2 { margin:0; font-size:16px; font-weight:600; line-height:24px; }
.pm-copy p, .pm-empty p { margin:2px 0 0; color:#ffffffa6; font-size:14px; line-height:20px; }
.pm-icon { display:grid; place-items:center; align-self:flex-start; flex:none; width:24px; height:24px; margin-top:1.5px; color:#c4aeff; font:22px/1 'Checkout Icons'; }
.pm-icon svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.pm-default .button { min-height:32px; font-weight:600; text-align:left; }
.pm-badge { color:#65d79a; background:#65d79a26; border-radius:100px; padding:2px 8px; font-size:12px; font-weight:700; }
.pm-badge::before { content:'✓'; margin-right:4px; }
.pm-remove { display:grid; place-items:center; flex:none; width:44px; height:44px; margin-right:-6px; padding:0; color:#ffffffbf; background:none; border:0; }
.pm-remove { -webkit-tap-highlight-color:transparent; }
.pm-remove:active::before { background:#ffffff30; }
.pm-remove::before { content:'\e910'; display:grid; place-items:center; width:32px; height:32px; border:1px solid #ffffff26; background:#ffffff1a; border-radius:50%; font:16px/1 'Checkout Icons'; }
.payment-methods .pm-empty { display:flex; gap:12px; align-items:flex-start; }
.pm-warning { font-size:14px; color:#ffffffa6; margin:0; }
.pm-demo { margin:16px 8px 0; font-size:13px; color:#c4aeff; }
.pm-demo summary { width:fit-content; cursor:pointer; padding:8px 0; }
.pm-demo p { margin:6px 0 12px; color:#ffffffa6; }
.pm-load .button { color:white; background:#31294e; }
.pm-related { display:inline-block; padding:12px 12px 8px 0; }
dialog.pm-confirm { width:min(400px,calc(100% - 40px)); max-height:85dvh; margin:auto; padding:24px; color:#171717; border:0; border-radius:24px; background:white; text-align:center; }
.pm-confirm h2 { margin:0; font-size:20px; line-height:26px; font-weight:700; }
.pm-confirm p { margin:8px 0 24px; color:#666; font-size:14px; line-height:20px; }
.pm-confirm button { width:100%; border:0; border-radius:999px; min-height:44px; }
.pm-confirm .pm-accept .button { color:white; background:#171717; }
.pm-cancel .button, .pm-dismiss { margin-top:8px; color:#626262; background:transparent; font-weight:600; }
.pm-confirm::backdrop { background:#0009; }
@media (prefers-reduced-motion:no-preference) {
  :root:not(.reduced-motion) .pm-list { animation:pm-list-in 260ms ease-out 180ms backwards; }
}
@keyframes pm-list-in { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
