/* Bank form and local demo cards only. */
.my-page .payout-empty-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #e1e9fa;
  border-radius: 19px;
  background: #fff;
  padding: 35px 24px 30px;
  text-align: center;
  box-shadow: 0 5px 18px #31579604;
}
.my-page .payout-empty-symbol {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 23px;
  background: linear-gradient(140deg, #f4f8ff, #eaf1ff);
  border: 1px solid #e4ecfb;
  color: #8ca8d8;
  margin-bottom: 21px;
}
.my-page .payout-empty-symbol svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.4;
}
.my-page .payout-empty-card > strong {
  display: block;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.65;
  color: #45618b;
}
.my-page .payout-empty-card > p {
  font-size: 12px;
  line-height: 1.9;
  color: #9aabc5;
  margin-top: 8px;
}
.my-page .payout-add-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 49px;
  margin-top: 18px;
  border-radius: 11px;
  padding: 12px 16px;
  background: #2858ed;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}
.my-page .payout-add-button svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}
.my-page .payout-add-button:hover {
  background: #1b48d5;
}
.my-page .payout-service-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  padding: 16px 4px 0;
  min-width: 0;
}
.my-page .payout-note-symbol {
  display: flex;
  align-items: center;
  padding-top: 3px;
  color: #9bacc8;
  flex-shrink: 0;
}
.my-page .payout-note-symbol svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.4;
}
.my-page .payout-service-note p {
  color: #a2afc5;
  font-size: 11px;
  line-height: 1.9;
}
.my-page .bank-intro {
  font-size: 12px;
  line-height: 1.8;
  color: #97a8c3;
  margin: 0 2px 15px;
}
.my-page .bank-form-card {
  background: #fff;
  border: 1px solid #e1e9fa;
  border-radius: 16px;
  padding: 23px 19px 5px;
  min-width: 0;
}
.my-page .bank-form-card label {
  display: block;
  margin: 0 0 10px;
  color: #526b91;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
}
.my-page .bank-form-card input:not([type='hidden']) {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 51px;
  border: 1px solid #dfe7f7;
  border-radius: 9px;
  background: #f8faff;
  padding: 12px 13px;
  font-size: 15px;
  line-height: 1.6;
  color: #49658f;
  outline: none;
}
.my-page .bank-form-card input::placeholder {
  color: #a7b5cc;
  font-size: 14px;
}
.my-page .bank-form-card input:focus {
  border-color: #8eacf0;
  box-shadow: 0 0 0 3px #edf3ff;
}
.my-page .bank-field-hint {
  font-size: 11px;
  line-height: 1.8;
  margin-top: 8px;
  color: #a1aec4;
}
.my-page .bank-field-hint + label {
  margin-top: 22px;
}
.my-page .bank-form-card #bankNumber {
  font-family: 'Segoe UI', sans-serif;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.2px;
}
.my-page .bank-field-error {
  min-height: 27px;
  padding-top: 5px;
  font-size: 11px;
  color: #c86b78;
  line-height: 1.8;
}
.my-page .bank-picker-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  min-width: 0;
  min-height: 51px;
  border: 1px solid #dfe7f7;
  border-radius: 9px;
  background: #f8faff;
  padding: 12px 13px;
  margin-bottom: 22px;
  line-height: 1.6;
  font-size: 15px;
  text-align: left;
  color: #49658f;
}
.my-page .bank-picker-trigger > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.my-page .bank-picker-trigger svg {
  flex-shrink: 0;
  width: 17px;
  height: 17px;
  stroke-width: 1.7;
  color: #9fb1ce;
}
.my-page .bank-picker-trigger.is-empty {
  color: #a7b5cc;
  font-size: 14px;
}
.my-page .bank-picker-trigger[aria-expanded='true'] {
  border-color: #8eacf0;
  box-shadow: 0 0 0 3px #edf3ff;
}
.my-page .bank-bind-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 49px;
  padding: 12px 15px;
  margin-top: 20px;
  border-radius: 11px;
  background: #2858ed;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}
.my-page .bank-bind-submit:hover {
  background: #1b48d5;
}
.my-page .bank-bind-submit:disabled {
  background: #e9effa;
  color: #98a9c7;
  opacity: 1;
  cursor: default;
}
.my-page .bank-privacy-note {
  font-size: 10px;
  line-height: 1.9;
  color: #aab7cb;
  text-align: center;
  margin: 12px 3px 0;
}
.my-page .payout-bank-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}
.my-page .payout-bank-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid #dce6fa;
  border-radius: 17px;
  padding: 20px 19px 14px;
  background: linear-gradient(115deg, #f9fbff, #eef4ff 54%, #e7efff);
  box-shadow: 0 5px 17px #32599606;
}
.my-page .payout-bank-card::after {
  content: '';
  position: absolute;
  right: -53px;
  top: -43px;
  width: 172px;
  height: 172px;
  border-radius: 50%;
  border: 22px solid #dce7f95c;
  pointer-events: none;
}
.my-page .payout-bank-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.my-page .payout-bank-symbol {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #ffffffa6;
  border: 1px solid #dce7fb;
  color: #91acd7;
}
.my-page .payout-bank-symbol svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.35;
}
.my-page .payout-bank-name {
  min-width: 0;
  flex: 1;
  line-height: 1.6;
  font-size: 14px;
  font-weight: 600;
  color: #6382b3;
  overflow-wrap: anywhere;
}
.my-page .payout-bank-demo-tag {
  flex-shrink: 0;
  margin-left: auto;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.7;
  padding: 2px 6px;
  border: 1px solid #dce7f7;
  border-radius: 5px;
  background: #f7faffab;
  color: #94aacb;
  white-space: nowrap;
}
.my-page .payout-bank-number {
  display: flex;
  align-items: center;
  gap: 13px;
  position: relative;
  z-index: 1;
  min-width: 0;
  margin-top: 22px;
  line-height: 1.5;
  color: #7995c4;
  font-family: 'Segoe UI', sans-serif;
  font-size: 22px;
  letter-spacing: 1.5px;
  font-variant-numeric: tabular-nums;
}
.my-page .payout-bank-number > span {
  font-weight: 400;
  color: #9db3d8;
}
.my-page .payout-bank-number > strong {
  font-weight: 500;
  font-size: 21px;
  letter-spacing: 1.5px;
  flex-shrink: 0;
}
.my-page .payout-bank-holder {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  margin-top: 11px;
  line-height: 1.7;
  font-size: 12px;
  color: #85a0c8;
}
.my-page .payout-bank-holder > span {
  flex-shrink: 0;
  font-size: 10px;
  color: #9caed0;
}
.my-page .payout-bank-holder > strong {
  font-size: 12px;
  min-width: 0;
  font-weight: 400;
  overflow-wrap: anywhere;
}
.my-page .payout-bank-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  border-top: 1px solid #dce6f8;
  margin-top: 17px;
  padding-top: 7px;
}
.my-page .payout-bank-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 44px;
  padding: 8px 9px;
  color: #7d98c2;
  font-size: 11px;
  font-weight: 400;
  border-radius: 7px;
}
.my-page .payout-bank-remove svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.5;
}
.my-page .payout-bank-remove:hover {
  background: #ffffff88;
}

/* This dialog is outside .my-page in the shared dialogs area. */
.bank-picker-dialog {
  width: 480px;
  max-width: calc(100vw - 32px);
  max-height: calc(100dvh - 48px);
  padding: 22px 20px 20px;
  border: 1px solid #dfe8f8;
  border-radius: 20px;
  background: #fff;
  color: #2a456d;
  box-shadow: 0 24px 100px #19385e30;
  overflow: auto;
}
.bank-picker-dialog::backdrop {
  background: #12244370;
  backdrop-filter: blur(5px);
}
.bank-picker-dialog .bank-picker-close {
  display: grid;
  place-items: center;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 11px;
  color: #9baec9;
}
.bank-picker-dialog .bank-picker-close svg {
  width: 21px;
  height: 21px;
  stroke-width: 1.7;
}
.bank-picker-dialog .bank-picker-close:hover {
  background: #f2f6fd;
}
.bank-picker-dialog .bank-picker-head {
  display: flex;
  align-items: center;
  min-height: 37px;
  padding: 0 42px 0 2px;
  margin-bottom: 17px;
}
.bank-picker-dialog .bank-picker-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
  color: #2a456d;
}
.bank-picker-dialog .bank-search-wrap {
  position: relative;
  min-width: 0;
}
.bank-picker-dialog .bank-search-wrap > svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: #a0b2cf;
  stroke-width: 1.6;
  pointer-events: none;
}
.bank-picker-dialog .bank-search-wrap input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 11px 13px 11px 41px;
  border: 1px solid #e1e9f7;
  border-radius: 11px;
  background: #f7faff;
  color: #56729d;
  font-size: 14px;
  line-height: 1.5;
  outline: none;
}
.bank-picker-dialog .bank-search-wrap input::placeholder {
  color: #a1b1cb;
  font-size: 13px;
}
.bank-picker-dialog .bank-search-wrap input:focus {
  border-color: #98b3ef;
  box-shadow: 0 0 0 3px #eef4ff;
}
.bank-picker-dialog .bank-choice-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  max-height: min(52dvh, 438px);
  overflow-y: auto;
  margin-top: 15px;
  padding: 1px 3px 1px 0;
  scrollbar-width: thin;
  scrollbar-color: #d2def2 transparent;
  overscroll-behavior: contain;
}
.bank-picker-dialog .bank-choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  width: 100%;
  min-height: 55px;
  flex-shrink: 0;
  border: 1px solid transparent;
  border-radius: 11px;
  background: #fff;
  padding: 11px 12px;
  font-size: 14px;
  color: #647da4;
  line-height: 1.7;
  text-align: left;
}
.bank-picker-dialog .bank-choice:hover {
  background: #f7faff;
}
.bank-picker-dialog .bank-choice > span:not(.bank-choice-icon) {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.bank-picker-dialog .bank-choice-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 9px;
  background: #f2f6fd;
  color: #9db2d5;
}
.bank-picker-dialog .bank-choice-icon svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.35;
}
.bank-picker-dialog .bank-choice-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-left: auto;
  color: #628bdc;
  stroke-width: 2;
  opacity: 0;
}
.bank-picker-dialog .bank-choice[aria-pressed='true'] {
  border-color: #dce7fb;
  background: #edf4ff;
  color: #4872c2;
}
.bank-picker-dialog .bank-choice[aria-pressed='true'] .bank-choice-icon {
  background: #e2ebfd;
  color: #789ddc;
}
.bank-picker-dialog .bank-choice[aria-pressed='true'] .bank-choice-check {
  opacity: 1;
}
.bank-picker-dialog .bank-search-empty {
  margin: 0;
  padding: 34px 10px 24px;
  font-size: 13px;
  color: #a0afc6;
  line-height: 1.9;
  text-align: center;
}
@media (max-width: 360px) {
  .my-page .payout-empty-card {
    padding: 30px 19px 26px;
  }
  .my-page .payout-empty-card > strong {
    font-size: 17px;
  }
  .my-page .payout-empty-card > p {
    font-size: 11px;
  }
  .my-page .payout-service-note p {
    font-size: 10px;
  }
  .my-page .bank-intro {
    font-size: 11px;
  }
  .my-page .bank-form-card {
    padding-left: 16px;
    padding-right: 16px;
  }
  .my-page .bank-form-card label {
    font-size: 13px;
  }
  .my-page .bank-form-card input:not([type='hidden']) {
    font-size: 14px;
    padding-left: 11px;
  }
  .my-page .bank-form-card input::placeholder {
    font-size: 13px;
  }
  .my-page .bank-field-hint {
    font-size: 10px;
  }
  .my-page .bank-picker-trigger {
    font-size: 14px;
    padding-left: 11px;
  }
  .my-page .bank-picker-trigger.is-empty {
    font-size: 13px;
  }
  .my-page .payout-bank-card {
    padding: 18px 16px 12px;
  }
  .my-page .payout-bank-name {
    font-size: 13px;
  }
  .my-page .payout-bank-top {
    gap: 7px;
  }
  .my-page .payout-bank-number {
    font-size: 20px;
    letter-spacing: 1px;
    gap: 10px;
  }
  .my-page .payout-bank-number > strong {
    font-size: 20px;
    letter-spacing: 1px;
  }
  .my-page .payout-bank-holder {
    font-size: 11px;
  }
  .my-page .payout-bank-holder > strong {
    font-size: 11px;
  }
  .bank-picker-dialog {
    padding: 20px 16px 17px;
    border-radius: 18px;
  }
  .bank-picker-dialog .bank-picker-head {
    margin-bottom: 14px;
  }
  .bank-picker-dialog .bank-picker-head h2 {
    font-size: 18px;
  }
  .bank-picker-dialog .bank-choice {
    font-size: 13px;
    padding: 10px 9px;
    gap: 9px;
  }
  .bank-picker-dialog .bank-search-wrap input {
    font-size: 13px;
  }
}

.bank-picker-dialog[open] {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.bank-picker-dialog .bank-picker-head,
.bank-picker-dialog .bank-search-wrap {
  flex-shrink: 0;
}
.bank-picker-dialog .bank-choice-list {
  min-height: 0;
  flex: 1;
}

/* The bind action stays visible; bound cards belong to the manager. */
.my-page [data-my-panel='bindCard'] {
  padding-bottom: 116px;
}
.my-page .bank-bind-actions {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  box-sizing: border-box;
  border-top: 1px solid #e1e9f8;
  padding: 14px 20px max(13px, env(safe-area-inset-bottom));
  background: #ffffffed;
  backdrop-filter: blur(12px);
  box-shadow: 0 -5px 25px #24437b05;
}
.my-page .bank-bind-actions .bank-bind-submit {
  margin: 0;
  min-height: 52px;
  box-shadow: 0 4px 12px #2858ed18;
}
.my-page .bank-bind-actions .bank-privacy-note {
  margin-top: 9px;
  font-size: 10px;
  line-height: 1.7;
}
.my-page .payout-bound-summary {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
  padding: 2px 2px 0;
}
.my-page .payout-bound-summary > span {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #e8efff;
  color: #426bdd;
  flex-shrink: 0;
}
.my-page .payout-bound-summary svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}
.my-page .payout-bound-summary strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #34578f;
  line-height: 1.6;
}
.my-page .payout-bound-summary p {
  margin-top: 3px;
  font-size: 11px;
  color: #93a4bf;
  line-height: 1.7;
}
.my-page .payout-bank-card.is-default {
  border-color: #c2d4fa;
  background: linear-gradient(115deg, #f8fbff, #edf3ff 54%, #e6eeff);
}
.my-page .payout-bank-card.is-default .payout-bank-demo-tag {
  border-color: #cadbf9;
  background: #eaf1ff;
  color: #5b7cbb;
}
.my-page .payout-bank-footer {
  justify-content: space-between;
}
.my-page .payout-bank-default {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 0;
  border-radius: 7px;
  color: #5378bc;
  font-size: 12px;
  line-height: 1.6;
}
.my-page .payout-bank-default.is-current:disabled {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 1;
  color: #6486c2;
  background: transparent;
  cursor: default;
  font-weight: 500;
}
.my-page .payout-bank-default.is-current::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #82a2dd;
}
.my-page .payout-bank-remove {
  font-size: 12px;
  padding-right: 0;
}
@media (max-width: 360px) {
  .my-page .bank-bind-actions {
    padding-left: 15px;
    padding-right: 15px;
  }
  .my-page .bank-bind-actions .bank-privacy-note {
    font-size: 9px;
  }
  .my-page .payout-bank-demo-tag {
    font-size: 8px;
    padding: 2px 5px;
  }
}
