.transfer-sheet-root { position:absolute; inset:0; z-index:20; pointer-events:none; }
.transfer-sheet-backdrop { position:absolute; inset:0; pointer-events:auto; }
.transfer-sheet-dim { position:absolute; inset:0; background:rgb(12 29 53 / 36%); -webkit-backdrop-filter:blur(6px) saturate(90%); backdrop-filter:blur(6px) saturate(90%); animation:aw-transfer-dim-in .42s ease both; }
#screen { transform-origin:50% 0; transition:transform .65s cubic-bezier(.22,1,.36,1),border-radius .65s cubic-bezier(.22,1,.36,1); }
.transfer-sheet-open #screen { transform:translate3d(0,-3px,0) scale(.975); border-radius:22px; }
.transfer-sheet-open #screen > .page { animation:none; }
.transfer-sheet {
  position:absolute; left:0; right:0; bottom:0;
  display:flex; flex-direction:column; max-height:calc(100% - 54px);
  overflow:hidden; border:1px solid rgb(255 255 255 / 94%); border-bottom:0;
  border-radius:32px 32px 0 0;
  background:linear-gradient(180deg,#dfebfb 0,#f4f7fc 116px,#f7f8fa 240px);
  box-shadow:0 -12px 45px rgb(12 43 85 / 19%),inset 0 1px 0 white;
  animation:aw-transfer-sheet-in .78s cubic-bezier(.16,1,.3,1) both;
}
.transfer-sheet-drag { position:absolute; top:0; left:0; right:0; z-index:2; height:23px; display:flex; justify-content:center; padding-top:8px; cursor:grab; touch-action:none; }
.transfer-sheet-drag:active { cursor:grabbing; }
.transfer-sheet-drag > span { display:block; width:29px; height:4px; border-radius:4px; background:#aac4e3; pointer-events:none; }
.transfer-sheet-heading { display:flex; flex:0 0 auto; align-items:center; gap:9px; padding:25px 18px 10px; }
.transfer-sheet-heading > .method-mark { width:27px; height:27px; }
.transfer-sheet-symbol { display:grid; place-items:center; flex:0 0 27px; width:27px; height:27px; border:1px solid #d7e9ff; border-radius:8px; background:#edf6ff; color:#1683f5; }
.transfer-sheet-symbol svg { width:18px; height:18px; }
.transfer-sheet-heading h2 { margin:0; font-size:16px; line-height:21px; letter-spacing:-.4px; }
.transfer-sheet-close { display:grid; place-items:center; flex:0 0 29px; width:29px; height:29px; margin-left:auto; padding:0; border:1px solid rgb(255 255 255 / 68%); border-radius:50%; color:#607896; background:rgb(255 255 255 / 65%); }
.transfer-sheet-close svg { width:16px; height:16px; stroke-width:1.9; }
.transfer-sheet-body { flex:0 1 auto; min-height:0; overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:none; -webkit-overflow-scrolling:touch; }
.transfer-sheet-body::-webkit-scrollbar { display:none; }
.transfer-sheet .form-sheet,.transfer-sheet .limits-sheet { min-height:0; margin:0; padding:8px 16px calc(24px + env(safe-area-inset-bottom)); border:0; border-radius:0; background:none; box-shadow:none; }
.transfer-sheet .form-sheet > .handle,.transfer-sheet .limits-sheet > .handle { display:none; }
.transfer-sheet .field-top:first-child { margin-top:0; }
.transfer-sheet-backdrop.is-closing .transfer-sheet { animation:aw-transfer-sheet-out .36s cubic-bezier(.4,0,1,1) both; }
.transfer-sheet-backdrop.is-closing .transfer-sheet-dim { animation:aw-transfer-dim-out .36s ease both; }
@keyframes aw-transfer-sheet-in {
  from { transform:translate3d(0,calc(100% + 24px),0); }
  to { transform:translate3d(0,0,0); }
}
@keyframes aw-transfer-sheet-out {
  from { transform:translate3d(0,var(--aw-dismiss-start,0px),0); }
  to { transform:translate3d(0,calc(100% + 24px),0); }
}
@keyframes aw-transfer-dim-in { from { opacity:0; } to { opacity:1; } }
@keyframes aw-transfer-dim-out { from { opacity:1; } to { opacity:0; } }
.mini-segments { position:relative; isolation:isolate; }
.mini-liquid { position:absolute; z-index:0; top:3px; bottom:3px; left:0; width:0; border-radius:18px; background:linear-gradient(115deg,#469fff,#2084fa); box-shadow:0 2px 6px rgb(35 135 238 / 21%),inset 0 1px 1px rgb(255 255 255 / 47%); pointer-events:none; transition:transform .65s var(--spring),width .65s var(--spring); }
.mini-segments button { position:relative; z-index:1; transition:color .25s ease; }
.mini-segments button.selected { background:none; box-shadow:none; }
.mini-segments button:active:not(:disabled) { transform:none; }
/* Referral programme uses the same sheet motion and backdrop as transfers. */
.transfer-sheet--program {
  max-height:calc(100% - 30px);
  border-radius:32px 32px 0 0;
  background:linear-gradient(165deg,#fff 0%,#f4f8ff 62%,#ecf4ff 100%);
}
.transfer-sheet--program .transfer-sheet-drag { height:24px; }
.transfer-sheet--program .transfer-sheet-heading { position:absolute; inset:0 0 auto; z-index:3; padding:0; height:0; }
.transfer-sheet--program .transfer-sheet-heading h2 { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.transfer-sheet--program .transfer-sheet-close {
  position:absolute; top:34px; right:24px; width:32px; height:32px;
  color:white; border:1px solid rgb(255 255 255 / 40%);
  background:rgb(12 65 161 / 36%); box-shadow:0 2px 9px rgb(0 24 86 / 13%);
  -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px);
}
.transfer-sheet--program .transfer-sheet-close svg { width:19px; height:19px; }
.transfer-sheet--program .transfer-sheet-body { padding:24px 14px calc(20px + env(safe-area-inset-bottom)); }
.aw-program-content { color:#14233e; }
.aw-program-banner {
  display:block; width:100%; height:auto; aspect-ratio:3 / 2;
  object-fit:cover; border-radius:22px;
  box-shadow:0 5px 16px rgb(13 74 172 / 13%);
}
.aw-program-rules {
  overflow:hidden; margin-top:12px; border:1px solid #e3edfc; border-radius:23px;
  background:linear-gradient(145deg,#eff6ff,#eaf2ff 50%,#f4f8ff);
  box-shadow:0 3px 12px rgb(39 85 143 / 6%),inset 0 1px 0 white;
}
.aw-program-rule { display:flex; align-items:flex-start; gap:10px; padding:14px 13px; }
.aw-program-rule + .aw-program-rule { border-top:2px solid rgb(255 255 255 / 90%); }
.aw-program-icon {
  display:block; flex:0 0 22px; width:22px; height:22px; margin-top:1px;
  color:#087bf5; background:currentColor;
  -webkit-mask:var(--aw-program-icon) center / contain no-repeat;
  mask:var(--aw-program-icon) center / contain no-repeat;
}
.aw-program-rule > div { min-width:0; }
.aw-program-rule h3 { margin:0; color:#14233e; font-size:16px; line-height:20px; font-weight:700; letter-spacing:-.25px; }
.aw-program-rule p { margin:5px 0 0; color:#7b8ba7; font-size:13px; line-height:17.5px; font-weight:400; }
.aw-program-invite { margin-top:12px; }
.aw-program-invite .aw-program-icon { flex-basis:17px; width:17px; height:17px; color:white; }
@media (prefers-reduced-motion:reduce) {
  .mini-liquid { transition:none; }
  #screen { transition:none; }
  .transfer-sheet,.transfer-sheet-dim { animation:none; }
  .transfer-sheet-backdrop.is-closing .transfer-sheet,.transfer-sheet-backdrop.is-closing .transfer-sheet-dim { animation:none; }
}
