main:has(> .settings-addresses) { padding: 0; background: #0c0b1c; }
.page.settings-addresses {
  display: flex; flex-direction: column; width: 100%; max-width: 640px; min-height: calc(100dvh - var(--mast));
  padding: 0 20px; margin: 0 auto; color: #fafafa; font-family: Manrope, sans-serif;
}
.settings-addresses [hidden] { display: none !important; }
.settings-addresses .dp-back { align-self: flex-start; background: none; border: 0; color: inherit; }
.settings-addresses .dp-header h2 { margin: 0; font-size: 20px; line-height: 24px; }
.ab-list { display: grid; gap: 12px; }
.ab-card { display: grid; grid-template-columns: minmax(0,1fr) 32px; align-items: center; padding: 16px; background: #110e2f; border: 1px solid #1d1841; border-radius: 24px; }
.ab-card.ab-empty { display: flex; gap: 12px; margin-inline: 20px; padding: 20px; }
.ab-glyph { flex: none; font: 22px/1 'Checkout Icons'; color: #fff; }
.ab-card h3, .ab-edit strong { margin: 0; font: 600 16px/22px Manrope,sans-serif; }
.ab-card p,.ab-note { margin: 2px 0 0; font-size: 12px; line-height: 16px; color: #ffffff8c; overflow-wrap: anywhere; }
.ab-edit { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 4px; text-decoration: none; color: inherit; overflow-wrap: anywhere; }
.ab-remove { display: grid; place-items: center; width: 32px; height: 32px; }
.ab-remove .ab-glyph { font-size:16px; color: #b3a0ff; }
.ab-details { grid-column: 1/-1; padding-left: 38px; }
.ab-reveal,.ab-shipping { width: fit-content; background: none; border: 0; padding: 4px 0; color: #b7a8ff; font: 600 13px/20px Manrope,sans-serif; cursor: pointer; }
.ab-note { margin: 16px 8px; }
.ab-dock { position: sticky; bottom: 0; margin-top: auto; background: #0c0b1c; padding: 12px 0 max(16px,env(safe-area-inset-bottom)); }
.ab-primary,.ab-danger,.ab-muted { display: grid; place-items: center; width: 100%; min-height: 48px; border: 0; border-radius: 999px; font: 700 16px/22px Manrope,sans-serif; cursor: pointer; text-decoration: none; }
.ab-primary { background: #fafafa; color: #141225; }
.ab-primary:disabled,.ab-reveal:disabled { opacity:.48; cursor: default; }
.ab-sheet .otp-slots input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.ab-sheet .otp-slots:focus-within { outline: 2px solid #b5a5ff; outline-offset: 2px; border-radius: 16px; }
.ab-muted { background: #ffffff15; color: #fff; }
.ab-danger { background: #fa787d; color: #1c0f15; }
.ab-status { margin: 8px 0; color: #f5b8b8; font-size: 14px; }
.ab-status:empty { display: none; }
.settings-addresses :is(a,button,input,select):focus-visible { outline: 2px solid #b5a5ff; outline-offset: 2px; }
.ab-sheet { width: min(100%,480px); max-width: 100%; max-height: 90dvh; padding: 0; border-radius: 24px; border: 1px solid #ffffff20; background: #17152c; color: white; overflow: hidden; }
.ab-sheet[open] { display: flex; flex-direction: column; }
.ab-sheet::backdrop { background: #050412aa; }
.ab-sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px 8px 20px; gap: 8px; }
.ab-sheet-head h1,.ab-delete h1 { margin: 0; font-size: 22px; line-height: 30px; letter-spacing: normal; }
.ab-cross { background: none; border: 0; color: #ddd; font-size: 26px; width: 40px; height: 40px; }
.ab-sheet form { min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.ab-sheet fieldset,.ab-delete fieldset { min-width: 0; border: 0; padding: 0; margin: 0; }
.ab-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 8px; padding: 8px 20px; }
.ab-fields > * { grid-column: 1/-1; }
.ab-fields > .ab-half { grid-column: span 1; }
.ab-field { display: grid; gap: 4px; min-width: 0; font-size: 14px; font-weight: 500; color: #d8d4e2; }
.ab-field :is(input,select) { display:block; min-width: 0; width: 100%; height: 48px; padding: 0 12px; border: 1px solid #ffffff24; border-radius: 8px; background: #1c1a32; color: #fafafa; font: 16px Manrope,sans-serif; }
.ab-help { margin: 4px 0; color: #b8b6c6; font-size: 14px; line-height: 20px; }
.ab-unit-warning { padding: 12px 16px; border: 1px solid #ffb80073; border-radius: 8px; background: #ffb8001a; color: #ffd98a; font-size: 14px; }
.ab-unit-warning button { display: block; }
.ab-review { display:grid; gap:12px; padding: 8px 20px 18px; }
.ab-summary { margin: 0; padding: 16px; border-radius: 12px; background: #ffffff08; font: 600 16px/24px Manrope,sans-serif; overflow-wrap: anywhere; }
.ab-buttons { display: grid; gap: 8px; }
.ab-sheet .ab-buttons { position: sticky; bottom: 0; background: #17152c; padding: 12px 20px max(16px,env(safe-area-inset-bottom)); }
.ab-sheet .ab-status { margin: 6px 20px 16px; }
.page.ab-delete { min-height: auto; padding: 24px; gap: 16px; }
.ab-delete p { margin: 0; }
@media (max-width:760px) {
  .page.settings-addresses { min-height: calc(100dvh - var(--mast) - 64px - env(safe-area-inset-bottom)); }
  .ab-dock { bottom: calc(64px + env(safe-area-inset-bottom)); }
  .ab-sheet { inset: auto 0 0; margin: 0 auto; border-radius: 24px 24px 0 0; }
  .page.ab-delete { min-height: auto; }
}
