.telineapopup {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, .7);
}
.telineapopup[hidden] { display: none; }
.telineapopup__box { position: relative; max-width: 100%; }
.telineapopup__action {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.telineapopup__img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(800px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
}
.telineapopup__close {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 1;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .35);
  font: 26px/36px Arial, sans-serif;
  cursor: pointer;
}
