#page-dialog:has(.df-sheet) { width: min(100%, 476px); padding: 0; color: #fafafa; background: #100f24; }
.df-sheet { display: flex; flex-direction: column; min-width: 0; color: #fafafa; font-family: Manrope,sans-serif; container-type: inline-size; }
.df-sheet [hidden] { display: none !important; }
.df-sr { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
.df-sheet > .close-layer { position: absolute; top: 0; right: 10px; z-index: 2; }
.df-sheet .model-form,.df-sheet .controls { width: 100%; max-width: none; min-width: 0; margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.df-sheet .model-form { padding: 20px 20px max(20px,env(safe-area-inset-bottom)); }
.df-stack { display: flex; flex-direction: column; justify-content: space-between; min-height: min(65dvh,600px); gap: 20px; }
.df-upper { flex: 1; display: flex; min-width: 0; flex-direction: column; align-items: center; justify-content: space-evenly; gap: 13px; padding-top: 8px; }
.df-amount { display: flex; align-items: baseline; justify-content: center; width: 100%; font-size: min(64px,calc(148cqi / (var(--digits,2) + 2))); font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
.df-amount input { min-width: 1ch; max-width: 90%; box-sizing: content-box; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: center; }
.df-amount input::placeholder { color: #bbb8c8; }
.df-amount input:focus-visible { outline: 0; box-shadow: inset 0 -2px #b2adff; }
.df-prefix { font-size: .77em; }.df-unit { margin-left: 5px; font-size: .36em; }
.df-pill,.df-chip,.df-method,.df-key,.df-close { font: inherit; cursor: pointer; color: #fafafa; }
.df-pill,.df-chip { border: 1px solid #ffffff29; background: linear-gradient(145deg,#302c45,#211f33); }
.df-pill { display: inline-flex; justify-content: center; align-items: center; gap: 12px; max-width: 100%; min-height: 46px; padding: 9px 20px; border-radius: 999px; font-size: 15px; font-weight: 700; }
.df-mark { font: 19px/1 "Checkout Icons",sans-serif; }.df-chevron { width: 7px; height: 7px; border: solid #bab7c7; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.df-presets { display: flex; gap: 8px; width: 100%; }
.df-chip { flex: 1; min-width: 0; min-height: 42px; padding: 7px 3px; border-radius: 22px; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; }
.df-chip[aria-pressed=true] { border-color: #aaa6fb; background: #302d4b; }
.df-pad { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px 4px; }
.df-key { min-height: 48px; font-size: 25px; font-weight: 600; border: 0; border-radius: 9px; background: transparent; }
.df-key:active,.df-key:hover { background: #ffffff0b; }
.df-foot { display: grid; gap: 8px; }
.df-sheet .actions { display: block; margin: 0; padding: 0; }
.df-sheet .actions .button { width: 100%; min-height: 54px; border-radius: 999px; border: 0; color: #171527; background: #fafafa; font: 700 16px/22px Manrope,sans-serif; }
.df-sheet .actions .button:disabled,.df-sheet fieldset:disabled .button { opacity: .4; }
.df-caption,.df-warning,.df-match { margin: 0; text-align: center; font-size: 13px; line-height: 18px; }
.df-caption { color: #bbb7ca; }.df-warning { color: #ffa5ad; }.df-warning a,.df-offer a,.df-link { text-decoration: underline; }
.df-offer { display: grid; width: 100%; gap: 4px; padding: 12px 16px; border: 1px solid #777593; border-radius: 14px; background: #27233d; font-size: 14px; }
.df-match { color: #88dc9f; }.df-sheet .form-status:empty { display: none; }
.df-methods { width: min(100% - 24px,412px); padding: 18px; border: 1px solid #ffffff20; border-radius: 22px; background: #211e34; color: #fafafa; }
.df-methods::backdrop { background: #080712ad; }.df-methods header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.df-methods h2,.df-title { font: 700 22px/28px Manrope,sans-serif; }
.df-close { width: 44px; height: 44px; font-size: 24px; border: 0; background: transparent; }
.df-method { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 10px 14px; margin-top: 6px; border: 1px solid #ffffff22; border-radius: 12px; text-align: left; background: #302d43; }
.df-method[aria-pressed=true] { border-color: #9693fa; }.df-method[aria-pressed=true]::after { content: '✓'; }
.df-title,.df-recovery { margin: 16px 20px; }.df-recovery { display: grid; gap: 12px; }
.df-sheet :is(a,button):focus-visible { outline: 2px solid #b8b3ff; outline-offset: 2px; }
@media(max-width:700px) {
  #page-dialog:has(.df-sheet) { width: 100%; }
  .df-stack { min-height: max(424px,calc(100dvh - 76px - env(safe-area-inset-bottom))); }
  .df-methods { inset: auto 0 0; width: 100%; max-width: 100%; margin: 0; padding-bottom: max(18px,env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; }
}
