/* YelePay premium withdrawal page — scoped to the withdrawal route. */
body[data-page="withdrawal"] {
  --withdraw-navy: #06275e;
  --withdraw-blue: #0b4d9d;
  --withdraw-blue-2: #1769c2;
  --withdraw-cyan: #53c7f3;
  --withdraw-ink: #10213d;
  --withdraw-muted: #718097;
  --withdraw-line: #e4ebf5;
  --withdraw-soft: #f2f6fb;
  margin: 0;
  color: var(--withdraw-ink);
  background:
    radial-gradient(circle at 12% 5%, rgba(23, 105, 194, 0.14), transparent 29%),
    radial-gradient(circle at 91% 29%, rgba(83, 199, 243, 0.11), transparent 26%),
    #eaf0f8;
}

body[data-page="withdrawal"] .withdraw-app {
  width: min(100%, 480px);
  min-height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background: #f6f8fc;
  box-shadow: 0 24px 80px rgba(8, 47, 111, 0.16);
}

body[data-page="withdrawal"] .withdrawal-screen {
  min-height: 100dvh;
  padding: 0 0 108px;
  background: #f6f8fc;
}

body[data-page="withdrawal"] .withdrawal-screen::before {
  display: none;
}

body[data-page="withdrawal"] .withdraw-hero {
  position: relative;
  overflow: hidden;
  padding: calc(16px + env(safe-area-inset-top)) 18px 24px;
  color: #fff;
  border-radius: 0 0 34px 34px;
  background:
    radial-gradient(circle at 88% 4%, rgba(255, 255, 255, 0.2), transparent 27%),
    radial-gradient(circle at 10% 92%, rgba(83, 199, 243, 0.3), transparent 32%),
    linear-gradient(145deg, #06275e 0%, #0b4d9d 54%, #1769c2 100%);
  box-shadow: 0 18px 44px rgba(8, 47, 111, 0.24);
}

body[data-page="withdrawal"] .withdraw-hero::before,
body[data-page="withdrawal"] .withdraw-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
}

body[data-page="withdrawal"] .withdraw-hero::before {
  width: 220px;
  height: 220px;
  right: -118px;
  top: -84px;
}

body[data-page="withdrawal"] .withdraw-hero::after {
  width: 145px;
  height: 145px;
  left: -80px;
  bottom: -72px;
}

body[data-page="withdrawal"] .withdraw-hero > * {
  position: relative;
  z-index: 1;
}

body[data-page="withdrawal"] .withdraw-hero-top {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
}

body[data-page="withdrawal"] .withdraw-back {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

body[data-page="withdrawal"] .withdraw-back svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.5;
}

body[data-page="withdrawal"] .withdraw-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}

body[data-page="withdrawal"] .withdraw-brand-mark {
  width: 34px;
  height: 34px;
  display: block;
  flex: 0 0 auto;
  padding: 4px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.17);
}

body[data-page="withdrawal"] .withdraw-brand > div {
  min-width: 0;
  display: grid;
  gap: 1px;
}

body[data-page="withdrawal"] .withdraw-brand strong {
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.01em;
}

body[data-page="withdrawal"] .withdraw-brand small {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-page="withdrawal"] .withdraw-secure {
  min-height: 30px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #dff8ff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 9px;
  font-weight: 850;
}

body[data-page="withdrawal"] .withdraw-secure svg {
  width: 13px;
  height: 13px;
}

body[data-page="withdrawal"] .withdraw-title-row {
  margin: 26px 2px 16px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

body[data-page="withdrawal"] .withdraw-title-row p {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 11px;
  font-weight: 650;
}

body[data-page="withdrawal"] .withdraw-title-row h1 {
  margin: 0;
  color: #fff;
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

body[data-page="withdrawal"] .withdraw-status {
  min-height: 27px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ddf7ff;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 8px;
  font-weight: 850;
}

body[data-page="withdrawal"] .withdraw-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7ee787;
  box-shadow: 0 0 0 4px rgba(126, 231, 135, 0.12);
  animation: withdrawPulse 1.7s ease-in-out infinite;
}

body[data-page="withdrawal"] .withdraw-balance-card {
  min-height: 86px;
  margin: 0;
  padding: 14px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 36px;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.08));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 28px rgba(2, 27, 68, 0.18);
  backdrop-filter: blur(13px);
}

body[data-page="withdrawal"] .withdraw-balance-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #0a4b97;
  border-radius: 16px;
  background: linear-gradient(145deg, #fff, #dff3ff);
  box-shadow: 0 9px 20px rgba(0, 0, 0, 0.14);
}

body[data-page="withdrawal"] .withdraw-balance-icon svg {
  width: 24px;
  height: 24px;
}

body[data-page="withdrawal"] .withdraw-balance-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

body[data-page="withdrawal"] .withdraw-balance-copy > span {
  color: rgba(255, 255, 255, 0.63);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-page="withdrawal"] .withdraw-balance-copy > strong {
  overflow: hidden;
  color: #fff;
  font-size: 24px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-page="withdrawal"] .withdraw-balance-copy small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 9px;
}

body[data-page="withdrawal"] .withdraw-balance-copy small b {
  color: #dff8ff;
}

body[data-page="withdrawal"] .withdraw-balance-card > a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
}

body[data-page="withdrawal"] .withdraw-balance-card > a svg {
  width: 17px;
  height: 17px;
}

body[data-page="withdrawal"] .withdraw-safety {
  min-height: 42px;
  margin: 14px 1px 0;
  padding: 8px 11px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.81);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  background: rgba(4, 31, 72, 0.24);
  font-size: 9px;
  font-weight: 650;
  line-height: 1.42;
}

body[data-page="withdrawal"] .withdraw-safety svg {
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  color: #8edfff;
}

body[data-page="withdrawal"] .withdraw-body {
  display: grid;
  gap: 14px;
  padding: 16px 12px 0;
}

body[data-page="withdrawal"] .premium-panel {
  border: 1px solid rgba(18, 68, 126, 0.08);
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 13px 32px rgba(31, 58, 95, 0.08);
}

body[data-page="withdrawal"] .withdraw-kicker {
  margin: 0 0 2px;
  color: #8390a3;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

body[data-page="withdrawal"] .withdrawal-accounts-section {
  margin: 0;
  padding: 16px;
}

body[data-page="withdrawal"] .withdrawal-accounts-section .section-head,
body[data-page="withdrawal"] .withdraw-history-panel .section-head {
  margin: 0 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body[data-page="withdrawal"] .withdrawal-accounts-section .section-head h2,
body[data-page="withdrawal"] .withdraw-history-panel .section-head h2 {
  margin: 0;
  color: var(--withdraw-ink);
  font-size: 19px;
  letter-spacing: -0.02em;
}

body[data-page="withdrawal"] .withdraw-add-tool {
  min-height: 38px;
  margin: 0;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #0b4d9d, #1769c2);
  box-shadow: 0 8px 17px rgba(11, 77, 157, 0.2);
  font: inherit;
  font-size: 10px;
  font-weight: 850;
}

body[data-page="withdrawal"] .withdraw-add-tool svg {
  width: 15px;
  height: 15px;
}

body[data-page="withdrawal"] .withdrawal-account-list {
  display: grid;
  gap: 10px;
}

body[data-page="withdrawal"] .withdrawal-account-card {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--withdraw-line);
  border-radius: 17px;
  background: linear-gradient(145deg, #f8fbff, #fff);
  box-shadow: none;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

body[data-page="withdrawal"] .withdrawal-account-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: transparent;
}

body[data-page="withdrawal"] .withdrawal-account-card.selected {
  border-color: rgba(11, 77, 157, 0.42);
  box-shadow: 0 11px 24px rgba(11, 77, 157, 0.1);
  transform: translateY(-1px);
}

body[data-page="withdrawal"] .withdrawal-account-card.selected::before {
  background: linear-gradient(180deg, #0b4d9d, #53c7f3);
}

body[data-page="withdrawal"] .withdraw-account-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body[data-page="withdrawal"] .withdraw-account-top > div {
  min-width: 0;
  display: grid;
  gap: 4px;
}

body[data-page="withdrawal"] .withdraw-account-top strong {
  overflow: hidden;
  color: #173255;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-page="withdrawal"] .withdraw-account-top > div span {
  color: #7a899e;
  font-size: 10px;
}

body[data-page="withdrawal"] .withdraw-account-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  padding: 6px;
  object-fit: contain;
  border: 1px solid #e1e9f4;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 7px 16px rgba(31, 58, 95, 0.08);
}

body[data-page="withdrawal"] .withdraw-account-warning {
  min-height: 34px;
  margin-top: 10px;
  padding-top: 9px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #53718f;
  border-top: 1px solid #edf1f6;
  font-size: 8px;
  font-weight: 700;
}

body[data-page="withdrawal"] .withdraw-account-warning > svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: #1784c7;
}

body[data-page="withdrawal"] .withdraw-account-warning span {
  min-width: 0;
  flex: 1;
  line-height: 1.4;
}

body[data-page="withdrawal"] .withdraw-account-warning button {
  width: 31px;
  height: 31px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #385779;
  border: 0;
  border-radius: 10px;
  background: #edf4fb;
}

body[data-page="withdrawal"] .withdraw-account-warning button svg {
  width: 16px;
  height: 16px;
}

body[data-page="withdrawal"] .withdraw-account-meta {
  margin-top: 11px;
  display: grid;
  grid-template-columns: 16px auto 1fr;
  align-items: center;
  gap: 6px;
  color: #6c7d94;
  font-size: 9px;
}

body[data-page="withdrawal"] .withdraw-account-meta svg {
  width: 15px;
  height: 15px;
  color: #1583c5;
}

body[data-page="withdrawal"] .withdraw-account-meta span {
  color: #23466c;
  font-weight: 850;
}

body[data-page="withdrawal"] .withdraw-account-meta small {
  justify-self: end;
  color: #8995a7;
  font-size: 8px;
}

body[data-page="withdrawal"] .withdrawal-account-list .empty {
  min-height: 100px;
  display: grid;
  place-items: center;
  padding: 20px;
  color: #7c899b;
  border: 1px dashed #ced9e8;
  border-radius: 16px;
  background: #f7faff;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

body[data-page="withdrawal"] .withdraw-stack {
  display: grid;
  gap: 14px;
}

body[data-page="withdrawal"] .withdraw-form-card {
  margin: 0;
  padding: 17px;
  border: 1px solid rgba(18, 68, 126, 0.08);
  box-shadow: 0 13px 32px rgba(31, 58, 95, 0.08);
}

body[data-page="withdrawal"] .withdraw-section-heading {
  margin-bottom: 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body[data-page="withdrawal"] .withdraw-section-heading p {
  margin: 0 0 3px;
  color: #8190a5;
  font-size: 9px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

body[data-page="withdrawal"] .withdraw-section-heading h2 {
  margin: 0;
  color: var(--withdraw-ink);
  font-size: 19px;
  letter-spacing: -0.02em;
}

body[data-page="withdrawal"] .withdraw-section-heading > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #0b4d9d;
  border-radius: 13px;
  background: #eaf3fd;
}

body[data-page="withdrawal"] .withdraw-section-heading svg {
  width: 18px;
  height: 18px;
}

body[data-page="withdrawal"] .withdraw-amount-field {
  gap: 8px;
}

body[data-page="withdrawal"] .withdraw-amount-field > span {
  color: #30445f;
  font-size: 11px;
  font-weight: 800;
}

body[data-page="withdrawal"] .withdraw-amount-input {
  min-height: 64px;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  border: 1px solid #dce5f1;
  border-radius: 17px;
  background: #f7f9fc;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

body[data-page="withdrawal"] .withdraw-amount-input:focus-within {
  border-color: rgba(11, 77, 157, 0.5);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(11, 77, 157, 0.08);
}

body[data-page="withdrawal"] .withdraw-amount-input b {
  height: 34px;
  display: grid;
  place-items: center;
  color: #0b4d9d;
  border-right: 1px solid #dce5f1;
  font-size: 14px;
}

body[data-page="withdrawal"] .withdraw-amount-input .input {
  min-height: 62px;
  padding: 0 14px;
  color: #173052;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 22px;
  font-weight: 850;
}

body[data-page="withdrawal"] .withdraw-amount-input .input::placeholder {
  color: #a9b4c4;
}

body[data-page="withdrawal"] .withdraw-method-note {
  min-height: 57px;
  margin: 12px 0 14px;
  padding: 10px 11px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 9px;
  border: 1px solid #e1ebf6;
  border-radius: 15px;
  background: linear-gradient(145deg, #edf5ff, #f9fcff);
}

body[data-page="withdrawal"] .withdraw-method-note > svg:first-child {
  width: 34px;
  height: 34px;
  padding: 8px;
  color: #0b4d9d;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(31, 58, 95, 0.08);
}

body[data-page="withdrawal"] .withdraw-method-note > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

body[data-page="withdrawal"] .withdraw-method-note strong {
  color: #17365b;
  font-size: 11px;
}

body[data-page="withdrawal"] .withdraw-method-note span {
  overflow: hidden;
  color: #78879a;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

body[data-page="withdrawal"] .withdraw-method-note > svg:last-child {
  width: 17px;
  height: 17px;
  color: #1c9a61;
}

body[data-page="withdrawal"] #withdrawBtn {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #fff;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #0b4d9d, #1769c2);
  box-shadow: 0 11px 24px rgba(11, 77, 157, 0.23);
  font-size: 14px;
  font-weight: 900;
}

body[data-page="withdrawal"] #withdrawBtn svg {
  width: 18px;
  height: 18px;
}

body[data-page="withdrawal"] #withdrawBtn:disabled {
  opacity: 0.58;
  box-shadow: none;
}

body[data-page="withdrawal"] .withdraw-form-help {
  margin: 10px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #8390a3;
  font-size: 8px;
  font-weight: 650;
}

body[data-page="withdrawal"] .withdraw-form-help svg {
  width: 12px;
  height: 12px;
}

body[data-page="withdrawal"] .withdraw-history-panel {
  padding: 16px;
}

body[data-page="withdrawal"] .withdraw-view-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #0b4d9d;
  font-size: 9px;
  font-weight: 850;
}

body[data-page="withdrawal"] .withdraw-view-all svg {
  width: 13px;
  height: 13px;
}

body[data-page="withdrawal"] #withdrawHistory {
  display: grid;
  gap: 10px;
}

body[data-page="withdrawal"] #withdrawHistory .history-record {
  padding: 13px;
  border: 1px solid #e3ebf5;
  border-radius: 16px;
  background: linear-gradient(145deg, #f8fbff, #fff);
  box-shadow: none;
}

body[data-page="withdrawal"] #withdrawHistory .history-record-head {
  gap: 8px;
}

body[data-page="withdrawal"] #withdrawHistory .history-record-head span,
body[data-page="withdrawal"] #withdrawHistory .history-detail-grid span {
  color: #8a97a9;
  font-size: 7px;
}

body[data-page="withdrawal"] #withdrawHistory .history-record-head strong,
body[data-page="withdrawal"] #withdrawHistory .history-detail-grid strong {
  color: #1c385d;
  font-size: 10px;
}

body[data-page="withdrawal"] #withdrawHistory .history-detail-grid > div {
  border-color: #e8eef6;
  background: #f4f8fc;
}

body[data-page="withdrawal"] #withdrawHistory .history-record time {
  color: #929daf;
  font-size: 8px;
}

body[data-page="withdrawal"] .tool-sheet {
  width: min(100%, 480px);
  inset: 0 auto 0 50%;
  padding: 0;
  background: rgba(4, 24, 56, 0.66);
  transform: translateX(-50%);
  backdrop-filter: blur(7px);
}

body[data-page="withdrawal"] .tool-sheet-panel {
  max-height: min(86dvh, 700px);
  gap: 13px;
  padding: 10px 14px calc(22px + env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0;
  background: #f7f9fc;
  box-shadow: 0 -24px 70px rgba(4, 24, 56, 0.31);
}

body[data-page="withdrawal"] .tool-sheet-panel > .sheet-handle {
  width: 42px;
  height: 4px;
  justify-self: center;
  border-radius: 999px;
  background: #d4dce8;
}

body[data-page="withdrawal"] .tool-sheet-panel .section-head {
  margin: 2px 0 0;
}

body[data-page="withdrawal"] .tool-sheet-panel .section-head h2 {
  margin: 0;
  color: #132c4d;
  font-size: 21px;
}

body[data-page="withdrawal"] .tool-sheet-panel .icon-btn,
body[data-page="withdrawal"] .withdraw-account-settings-panel .icon-btn {
  width: 38px;
  height: 38px;
  color: #45617f;
  border: 1px solid #e0e7f0;
  border-radius: 12px;
  background: #fff;
}

body[data-page="withdrawal"] .tool-sheet-warning {
  min-height: 48px;
  padding: 10px 11px;
  color: #28587f;
  border: 1px solid #dce9f5;
  border-radius: 14px;
  background: #edf6ff;
  font-size: 9px;
  line-height: 1.45;
}

body[data-page="withdrawal"] .tool-sheet-warning svg {
  color: #1682c5;
}

body[data-page="withdrawal"] .tool-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

body[data-page="withdrawal"] .withdrawal-tool-card {
  min-height: 120px;
  padding: 13px;
  display: grid;
  grid-template-columns: 1fr 48px;
  align-items: center;
  gap: 8px;
  border: 1px solid #e1e9f3;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(31, 58, 95, 0.06);
}

body[data-page="withdrawal"] .withdrawal-tool-card h2 {
  margin: 0 0 10px;
  color: #18375c;
  font-size: 15px;
}

body[data-page="withdrawal"] .withdrawal-tool-card .tool-logo {
  width: 48px;
  height: 48px;
  padding: 5px;
  border: 1px solid #e6edf5;
  border-radius: 13px;
  background: #f7f9fc;
}

body[data-page="withdrawal"] .tool-actions {
  gap: 5px;
}

body[data-page="withdrawal"] .tool-actions .mini-btn {
  min-width: 0;
  min-height: 26px;
  padding: 0 7px;
  color: #fff;
  border-radius: 8px;
  background: #0b4d9d;
  font-size: 7px;
}

body[data-page="withdrawal"] .tool-actions .mini-btn.muted-chip {
  color: #5b718b;
  background: #edf2f8;
}

body[data-page="withdrawal"] .withdraw-account-settings-sheet,
body[data-page="withdrawal"] .delete-tool-modal {
  width: min(100%, 480px);
  inset: 0 auto 0 50%;
  background: rgba(4, 24, 56, 0.64);
  transform: translateX(-50%);
  backdrop-filter: blur(6px);
}

body[data-page="withdrawal"] .withdraw-account-settings-panel {
  padding: 10px 16px calc(24px + env(safe-area-inset-bottom));
  border-radius: 27px 27px 0 0;
  background: #f8fafd;
  box-shadow: 0 -24px 70px rgba(4, 24, 56, 0.3);
}

body[data-page="withdrawal"] .withdraw-account-settings-panel .section-head h2 {
  color: #173255;
  font-size: 20px;
}

body[data-page="withdrawal"] .remove-tool-action {
  min-height: 62px;
  border: 1px solid #fee0e3;
  border-radius: 16px;
  background: #fff5f6;
}

body[data-page="withdrawal"] .delete-tool-card {
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 25px;
  background: linear-gradient(160deg, #fff, #f8fafd);
  box-shadow: 0 30px 80px rgba(4, 24, 56, 0.36);
}

body[data-page="withdrawal"] .withdraw-authorize-screen {
  width: min(100%, 480px);
  min-height: 100dvh;
  inset: 0 auto 0 50%;
  padding: 0 18px calc(34px + env(safe-area-inset-bottom));
  color: var(--withdraw-ink);
  background:
    radial-gradient(circle at 95% 5%, rgba(83, 199, 243, 0.13), transparent 27%),
    linear-gradient(180deg, #eef5fd 0, #f9fbfe 35%, #fff 100%);
  transform: translateX(-50%);
}

body[data-page="withdrawal"] .withdraw-authorize-header {
  min-height: calc(66px + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
}

body[data-page="withdrawal"] .withdraw-authorize-header .icon-btn {
  color: #17406c;
  border: 1px solid #dce6f2;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.8);
}

body[data-page="withdrawal"] .withdraw-authorize-header strong {
  color: #16375d;
  font-size: 14px;
}

body[data-page="withdrawal"] .authorize-warning {
  min-height: 48px;
  margin: 0 -18px 22px;
  padding: 10px 18px;
  color: #23628e;
  background: #e6f3ff;
  font-size: 9px;
}

body[data-page="withdrawal"] .authorize-warning svg {
  color: #1387ca;
}

body[data-page="withdrawal"] .withdraw-authorize-screen .step-line {
  margin: 0 8px 28px;
  color: #74849a;
  font-size: 10px;
}

body[data-page="withdrawal"] .withdraw-authorize-screen .step-line::before {
  background: #dce5f0;
}

body[data-page="withdrawal"] .withdraw-authorize-screen .step-dot {
  background: #c6d3e1;
}

body[data-page="withdrawal"] .withdraw-authorize-screen .step-dot.active {
  background: #0b4d9d;
  box-shadow: 0 0 0 5px rgba(11, 77, 157, 0.1);
}

body[data-page="withdrawal"] .authorize-hero {
  margin-bottom: 25px;
  text-align: center;
}

body[data-page="withdrawal"] .authorize-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 14px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 7px solid #dcecff;
  border-radius: 22px;
  background: linear-gradient(135deg, #0b4d9d, #38a7e0);
  box-shadow: 0 13px 28px rgba(11, 77, 157, 0.22);
}

body[data-page="withdrawal"] .authorize-icon svg {
  width: 27px;
  height: 27px;
}

body[data-page="withdrawal"] .authorize-hero .withdraw-kicker {
  margin-bottom: 4px;
}

body[data-page="withdrawal"] .authorize-hero h1 {
  margin: 0 0 8px;
  color: #112d51;
  font-size: 27px;
  letter-spacing: -0.035em;
}

body[data-page="withdrawal"] .authorize-hero p {
  margin: 0 auto;
  max-width: 340px;
  color: #718199;
  font-size: 11px;
  line-height: 1.55;
}

body[data-page="withdrawal"] .authorize-form {
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(18, 68, 126, 0.08);
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 16px 38px rgba(31, 58, 95, 0.09);
}

body[data-page="withdrawal"] .authorize-form .field {
  gap: 8px;
}

body[data-page="withdrawal"] .authorize-form .field > span {
  color: #304863;
  font-size: 11px;
  font-weight: 850;
}

body[data-page="withdrawal"] .authorize-input-wrap {
  min-height: 58px;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  border: 1px solid #dce5f0;
  border-radius: 16px;
  background: #f7f9fc;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

body[data-page="withdrawal"] .authorize-input-wrap:focus-within {
  border-color: rgba(11, 77, 157, 0.5);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(11, 77, 157, 0.08);
}

body[data-page="withdrawal"] .authorize-input-wrap > svg {
  width: 18px;
  height: 18px;
  justify-self: center;
  color: #0b4d9d;
}

body[data-page="withdrawal"] .authorize-input-wrap .input {
  min-height: 56px;
  padding: 0 12px 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 14px;
}

body[data-page="withdrawal"] .authorize-safe-note {
  min-height: 48px;
  padding: 9px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #31658b;
  border: 1px solid #dcebf7;
  border-radius: 14px;
  background: #edf7ff;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.45;
}

body[data-page="withdrawal"] .authorize-safe-note svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: #1685c7;
}

body[data-page="withdrawal"] .authorize-finish {
  min-height: 54px;
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #0b4d9d, #1769c2);
  box-shadow: 0 11px 24px rgba(11, 77, 157, 0.22);
  font-size: 13px;
}

body[data-page="withdrawal"] .authorize-finish svg {
  width: 17px;
  height: 17px;
}

body[data-page="withdrawal"] .withdraw-process-overlay {
  width: min(100%, 480px);
  left: 50%;
  z-index: 110;
  background: rgba(4, 24, 56, 0.67);
  transform: translateX(-50%);
  backdrop-filter: blur(7px);
}

body[data-page="withdrawal"] .withdraw-process-card {
  width: min(calc(100% - 36px), 330px);
  gap: 10px;
  padding: 27px 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: linear-gradient(160deg, #fff, #f1f7ff);
  box-shadow: 0 30px 80px rgba(4, 24, 56, 0.38);
}

body[data-page="withdrawal"] .withdraw-process-card h2 {
  color: #15365c;
  font-size: 20px;
}

body[data-page="withdrawal"] .withdraw-process-card p {
  color: #74849a;
  font-size: 10px;
}

body[data-page="withdrawal"] .withdraw-loader {
  width: 68px;
  height: 68px;
  border-color: rgba(11, 77, 157, 0.13);
  border-top-color: #0b4d9d;
  box-shadow: 0 12px 24px rgba(11, 77, 157, 0.1);
}

body[data-page="withdrawal"] .withdraw-loader span {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #0b4d9d, #53c7f3);
}

body[data-page="withdrawal"] .limit-popup {
  width: min(100%, 480px);
  left: 50%;
  background: rgba(4, 24, 56, 0.65);
  transform: translateX(-50%);
  backdrop-filter: blur(6px);
}

body[data-page="withdrawal"] .limit-box {
  border-radius: 23px;
  background: linear-gradient(160deg, #fff, #f3f8ff);
  box-shadow: 0 28px 70px rgba(4, 24, 56, 0.35);
}

body[data-page="withdrawal"] .limit-box > .btn:not(.ghost) {
  border: 0;
  background: linear-gradient(135deg, #0b4d9d, #1769c2);
}

body[data-page="withdrawal"] .bottom-nav {
  width: min(100%, 480px);
  left: 50%;
  bottom: 0;
  z-index: 80;
  min-height: calc(72px + env(safe-area-inset-bottom));
  padding: 7px 8px env(safe-area-inset-bottom);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(17, 64, 119, 0.08);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 -13px 32px rgba(24, 55, 91, 0.11);
  transform: translateX(-50%);
  backdrop-filter: blur(15px);
}

body[data-page="withdrawal"] .bottom-nav .nav-link {
  min-width: 0;
  min-height: 58px;
  padding: 6px 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #8794a6;
  border-radius: 15px;
  font-size: 8px;
  font-weight: 800;
}

body[data-page="withdrawal"] .bottom-nav .nav-link::before {
  display: none;
}

body[data-page="withdrawal"] .bottom-nav .yelepay-nav-icon {
  width: 24px;
  height: 24px;
  padding: 4px;
  border-radius: 8px;
  background: #edf2f8;
  filter: none;
}

body[data-page="withdrawal"] .bottom-nav .nav-link[data-nav="withdrawal"] {
  color: #0b4d9d;
  background: #edf5ff;
}

body[data-page="withdrawal"] .bottom-nav .nav-link[data-nav="withdrawal"] .yelepay-nav-icon {
  background: linear-gradient(135deg, #0b4d9d, #1769c2);
  box-shadow: 0 7px 14px rgba(11, 77, 157, 0.21);
}

@keyframes withdrawPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.82); }
}

@media (max-width: 370px) {
  body[data-page="withdrawal"] .withdraw-hero {
    padding-inline: 14px;
  }

  body[data-page="withdrawal"] .withdraw-secure {
    padding: 0 7px;
  }

  body[data-page="withdrawal"] .withdraw-title-row h1 {
    font-size: 25px;
  }

  body[data-page="withdrawal"] .withdraw-body {
    padding-inline: 10px;
  }

  body[data-page="withdrawal"] .withdraw-add-tool {
    width: 38px;
    padding: 0;
  }

  body[data-page="withdrawal"] .withdraw-add-tool span {
    display: none;
  }

  body[data-page="withdrawal"] .withdraw-account-meta small {
    display: none;
  }

  body[data-page="withdrawal"] .tool-list {
    grid-template-columns: 1fr;
  }

  body[data-page="withdrawal"] .withdrawal-tool-card {
    min-height: 88px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="withdrawal"] *,
  body[data-page="withdrawal"] *::before,
  body[data-page="withdrawal"] *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
