main:has(> .payout-accounts) { padding:0; background:#0c0b1c; }
main > .payout-accounts { display:flex; flex-direction:column; align-items:stretch; width:100%; max-width:640px; min-height:calc(100dvh - var(--mast)); margin:auto; padding:0 20px; color:#fff; }
.payout-accounts .dp-back { align-self:flex-start; flex:none; }
.payout-accounts .pa-accounts { display:block; padding:0 20px; background:radial-gradient(50% 25% at 50% 0%,#ffffff1a,transparent),#110e2f; }
.payout-accounts .pa-empty { margin-inline:20px; }
.pa-row { display:flex; align-items:center; gap:12px; padding:14px 0; }
.pa-row:first-child { padding-top:20px; }
.pa-row:last-child { padding-bottom:20px; }
.pa-row + .pa-row { border-top:1px solid #1d1841; }
.pa-icon { display:grid; flex:0 0 42px; height:42px; place-items:center; border:.5px solid #fff3; border-radius:8px;
  color:#9990fa; background:radial-gradient(50% 60% at 50% 0%,#ffffff59,transparent),linear-gradient(180deg,#181255 63%,#110e2f); font:22px/1 'Checkout Icons'; }
.pa-icon img { width:22px; height:22px; object-fit:contain; }
.pa-copy { flex:1; min-width:0; overflow-wrap:anywhere; }
.pa-copy h2,.pa-missing { margin:0; color:white; font-size:16px; line-height:24px; font-weight:600; }
.pa-copy p { margin:2px 0 0; color:#ffffff8c; font-size:12px; line-height:16px; }
.pa-description { margin:2px 0 0; color:#ffffff9c; font-size:14px; line-height:20px; }
.pa-remove { flex:none; border:0; border-radius:999px; min-height:36px; padding:0 12px; background:#ffffff0d; color:#ff7078; font-size:13px; font-weight:600; }
.pa-footer { position:sticky; bottom:0; display:grid; gap:8px; margin-top:auto; padding:12px 0 max(12px,env(safe-area-inset-bottom)); background:#0c0b1c; }
.pa-primary,.pa-panel .actions .button { min-height:48px; width:100%; border:0; border-radius:999px; color:#171622; background:#fff; font-size:16px; font-weight:650; }
.pa-link { display:grid; place-items:center; min-height:40px; color:#c4aeff; font-size:14px; }
.pa-panel,.pa-panel form,.pa-panel .controls { margin:0; min-width:0; }
dialog.pa-panel, #page-dialog:has(#layer > .pa-panel) { inset:0; height:fit-content; max-height:90dvh; margin:auto; padding:0; border:0; }
dialog.pa-panel { position:fixed; }
dialog.pa-picker,#page-dialog:has(#layer > .pa-picker) { width:min(480px,calc(100% - 32px)); max-width:100%; border-radius:24px; background:#100f24; color:white; }
dialog.pa-confirm,#page-dialog:has(#layer > .pa-confirm) { width:min(400px,calc(100% - 40px)); border-radius:24px; text-align:center; background:white; color:#171717; }
dialog.pa-panel::backdrop,#page-dialog:has(#layer > .pa-panel)::backdrop { background:#0009; }
dialog.pa-panel,.page.pa-panel { padding:24px; }
#page-dialog:has(#layer > .pa-panel) .close-layer { display:none; }
#page-dialog:has(#layer > .pa-picker) > .native-sheet-grip { position:absolute; inset:0 0 auto; margin-inline:auto; }
.pa-panel .pa-title { margin:0; font-size:20px; line-height:26px; font-weight:700; letter-spacing:normal; }
.pa-picker .pa-title { padding-right:40px; }
.pa-panel .pa-description { margin:8px 0 24px; }
.pa-picker .field { display:grid; gap:6px; margin-bottom:16px; }
.pa-picker select { width:100%; min-height:46px; padding:8px 12px; border:1px solid #ffffff30; border-radius:12px; background:#201c34; color:white; }
.pa-panel .actions { display:block; }
.pa-panel .form-status:empty { display:none; }
.pa-panel .form-status { margin:8px 0; }
.pa-close { position:absolute; top:16px; right:16px; width:36px; height:36px; border:0; border-radius:50%; color:white; background:#ffffff12; font:22px/1 sans-serif; }
.pa-confirm .pa-description { color:#737373; }
.pa-confirm .actions .button { color:white; background:#171717; }
.pa-cancel { width:100%; min-height:44px; margin-top:8px; border:0; border-radius:999px; background:transparent; color:#262626; font-weight:600; }
.payout-accounts :focus-visible,.pa-panel :focus-visible { outline:2px solid #987afa; outline-offset:2px; }
@media(max-width:760px) {
  main > .payout-accounts { min-height:calc(100dvh - var(--mast) - 64px - env(safe-area-inset-bottom)); }
  .pa-footer { bottom:calc(64px + env(safe-area-inset-bottom)); }
  dialog.pa-picker,#page-dialog:has(#layer > .pa-picker) { inset:auto 0 0; width:100%; margin:0; border-radius:24px 24px 0 0; }
  dialog.pa-picker,.page.pa-picker { padding:28px 20px calc(20px + env(safe-area-inset-bottom)); }
}
