.modal {
  position: fixed;
  inset: 0;
  background: #29123dcc;
  display: none;
  place-items: center;
  padding: 20px;
  z-index: 60;
}
.modal.on {
  display: grid;
}
.modal.anch {
  background: #29123d33;
}
.modal.anch.on {
  display: block;
}
.modal.anch > div {
  position: fixed;
  max-width: 340px;
  box-shadow: 0 8px 28px #29123d55;
}
.modal > div {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  max-width: 440px;
  width: 100%;
}
.modal h3 {
  margin: 0 0 8px;
  font: 700 19px Ubuntu;
  color: var(--pd);
}
.modal p {
  margin: 0 0 16px;
  font-size: 15px;
}
.modal .acts {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.modal img {
  max-width: 100%;
  max-height: 60vh;
  display: block;
  margin: 10px auto;
}
.mbtn {
  border: 0;
  background: var(--pl);
  color: #fff;
  border-radius: 3px;
  padding: 9px 16px;
  cursor: pointer;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
}
.mbtn.danger {
  background: var(--danger);
}
.mbtn.plain {
  background: #fff;
  color: var(--p);
  box-shadow: inset 0 0 0 2px var(--pl);
}
