

.custom-daily-popup {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(0, 0, 0, 0.5);

  box-sizing: border-box;
}

.custom-daily-popup__inner {
  position: relative;

  width: fit-content;
  max-width: 100%;
}

.custom-daily-popup .d-popup,
.custom-daily-popup .mob-popup {
  max-width: 100%;
}

.custom-daily-popup img {
  display: block;
  cursor:pointer;
  max-width: 100%;
  height: auto;
}

.custom-popup-close {
  position: absolute;

  top: -32px;
  right: 8px;

  width: 26px;
  height: 26px;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.55);

  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  cursor: pointer;

  z-index: 10;

  transition: background .2s ease, opacity .2s ease;
}

.custom-popup-close::before,
.custom-popup-close::after {
  content: "";

  position: absolute;

  top: 50%;
  left: 50%;

  width: 10px;
  height: 1.5px;

  background: rgba(33, 33, 33, .75);
  border-radius: 2px;
}

.custom-popup-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.custom-popup-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.custom-popup-close:hover {
  background: rgba(255, 255, 255, .8);
}

.custom-popup-close:active {
  transform: scale(.95);
}




@media (min-width: 761px) {

  .custom-daily-popup .d-popup {
    display: block;
  }

  .custom-daily-popup .mob-popup {
    display: none;
  }

}




@media (max-width: 760px) {

  .custom-daily-popup {
    padding: 15px;
  }

  .custom-daily-popup .d-popup {
    display: none;
  }

  .custom-daily-popup .mob-popup {
    display: block;
  }

}
