@charset "utf-8";
/* CSS Document */

/* 原展示图片样式 */
.yingjun-show-img {
  width: 200px;
  cursor: pointer;
  border: 1px solid #eee;
}

/* 弹窗遮罩层：默认隐藏 */
.yingjun-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7); /* 背景变暗 */
  z-index: 999;
  align-items: center;
  justify-content: center;
}

/* 弹窗图片容器 */
.yingjun-modal-box {
  position: relative;
}

/* 弹窗内图片 */
.yingjun-modal-img {
  max-width: 90vw;
  max-height: 90vh;
  display: block;
}

/* 关闭按钮 */
.yingjun-close-btn {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 36px;
  height: 36px;
  line-height: 36px;
  text-align: center;
  font-size: 24px;
  color: #fff;
  background: #333;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
}
.yingjun-close-btn:hover {
  background: #f00;
}