/* 管理端：还款账户（平台收款账户图片）+ 客户还款凭证查看 */
.ys-rp-mask {
  position: fixed;
  inset: 0;
  background: rgba(17, 20, 26, .55);
  z-index: 30000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.ys-rp-dlg {
  width: 100%;
  max-width: 560px;
  max-height: 88vh;
  overflow: auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .28);
  font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #222;
}
.ys-rp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px 12px;
  border-bottom: 1px solid #f0f1f3;
  position: sticky;
  top: 0;
  background: #fff;
  border-radius: 14px 14px 0 0;
}
.ys-rp-head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
.ys-rp-close {
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background: #f2f3f5;
  color: #666;
  font-size: 18px;
  line-height: 28px;
  cursor: pointer;
  padding: 0;
}
.ys-rp-body { padding: 14px 18px 18px; }
.ys-rp-sec { margin-bottom: 18px; }
.ys-rp-sec:last-child { margin-bottom: 0; }
.ys-rp-sec-title {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ys-rp-sec-title i {
  display: inline-block;
  width: 3px;
  height: 13px;
  background: #e4393c;
  border-radius: 2px;
}
.ys-rp-sec-desc {
  font-size: 12px;
  color: #999;
  margin: 0 0 10px;
  line-height: 1.6;
}
.ys-rp-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.ys-rp-thumb {
  position: relative;
  width: 92px;
  height: 92px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eee;
  background: #fafafa;
  cursor: zoom-in;
}
.ys-rp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ys-rp-del {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 13px;
  line-height: 20px;
  text-align: center;
  padding: 0;
  cursor: pointer;
}
.ys-rp-add {
  width: 92px;
  height: 92px;
  border: 1px dashed #d6d8db;
  border-radius: 8px;
  background: #fbfbfc;
  color: #9aa0a6;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  box-sizing: border-box;
}
.ys-rp-add span:first-child { font-size: 22px; line-height: 1; }
.ys-rp-add:active { background: #f4f5f7; }
.ys-rp-empty {
  font-size: 13px;
  color: #b0b4ba;
  padding: 10px 0;
}
.ys-rp-tip {
  font-size: 12px;
  color: #999;
  margin-top: 8px;
  line-height: 1.6;
}
.ys-rp-proof-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed #f0f1f3;
}
.ys-rp-proof-row:last-child { border-bottom: none; }
.ys-rp-proof-label {
  flex: 0 0 92px;
  font-size: 13px;
  color: #333;
  padding-top: 4px;
}
.ys-rp-proof-label em {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: #999;
  margin-top: 2px;
}
.ys-rp-toast {
  position: fixed;
  left: 50%;
  top: 22%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, .8);
  color: #fff;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 8px;
  z-index: 31000;
  max-width: 80vw;
}
.ys-rp-viewer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .88);
  z-index: 31000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
}
.ys-rp-viewer img {
  max-width: 94vw;
  max-height: 92vh;
  object-fit: contain;
}
