#payModal .modal-body {
  display: block;
  overflow-y: auto;
}

.pay-quota {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--line, rgba(128, 128, 128, .22));
  border-radius: 14px;
  margin-bottom: 20px;
}

.pay-quota-main {
  flex: 1 1 220px;
  min-width: 0;
}

.pay-plan-name {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 2px;
}

.pay-plan-sub {
  font-size: 12.5px;
  opacity: .62;
}

.pay-bars {
  flex: 2 1 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.pay-bar-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pay-bar-head {
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  opacity: .78;
  gap: 12px;
}

.pay-bar-head b {
  font-weight: 600;
  opacity: .9;
}

.pay-bar {
  height: 6px;
  border-radius: 99px;
  background: rgba(128, 128, 128, .2);
  overflow: hidden;
}

.pay-bar span {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: currentColor;
  opacity: .75;
  transition: width .35s ease;
}

.pay-bar.low span {
  opacity: 1;
  background: #d9534f;
}

.pay-section-title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .55;
  margin: 22px 0 12px;
}

.pay-nets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pay-net {
  padding: 7px 14px;
  border-radius: 99px;
  border: 1px solid var(--line, rgba(128, 128, 128, .28));
  background: none;
  color: inherit;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}

.pay-net:hover {
  border-color: currentColor;
}

.pay-net[aria-pressed="true"] {
  border-color: currentColor;
  background: rgba(128, 128, 128, .14);
  font-weight: 600;
}

.pay-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.pay-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  border: 1px solid var(--line, rgba(128, 128, 128, .22));
  border-radius: 14px;
}

.pay-card.current {
  border-color: currentColor;
}

.pay-card-title {
  font-weight: 600;
  font-size: 15px;
}

.pay-card-price {
  font-size: 25px;
  font-weight: 650;
  line-height: 1.1;
}

.pay-card-price small {
  font-size: 13px;
  font-weight: 500;
  opacity: .55;
  margin-left: 3px;
}

.pay-card-lines {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12.5px;
  opacity: .72;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.pay-card button {
  margin-top: auto;
}

.pay-badge {
  align-self: flex-start;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(128, 128, 128, .18);
}

.pay-invoice {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid currentColor;
  border-radius: 14px;
}

.pay-amount {
  font-size: 27px;
  font-weight: 650;
  letter-spacing: -.01em;
}

.pay-amount small {
  font-size: 14px;
  font-weight: 500;
  opacity: .6;
  margin-left: 4px;
}

.pay-hint {
  font-size: 12.5px;
  opacity: .7;
  margin: 8px 0 14px;
  line-height: 1.5;
}

.pay-addr {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  word-break: break-all;
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(128, 128, 128, .12);
  margin-bottom: 14px;
}

.pay-addr button {
  margin-left: auto;
  flex: none;
}

.pay-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.pay-state {
  font-size: 13px;
  opacity: .8;
}

.pay-state.done {
  color: #3d9a5b;
  opacity: 1;
  font-weight: 600;
}

.pay-state.fail {
  color: #d9534f;
  opacity: 1;
}

.pay-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 99px;
  border: 1px solid var(--line, rgba(128, 128, 128, .28));
  background: none;
  color: inherit;
  font: inherit;
  font-size: 12.5px;
  cursor: pointer;
  white-space: nowrap;
}

.pay-chip:hover {
  border-color: currentColor;
}

.pay-chip.low {
  border-color: #d9534f;
  color: #d9534f;
}

.pay-empty {
  font-size: 13px;
  opacity: .65;
  padding: 10px 0;
}
