/* Overlay + modal: cannot be closed (no X, no outside close) */
.agyr-overlay{
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0,0,0,.78);
  z-index: 999999;
}

.agyr-overlay.agyr-show{
  display: flex;
}

.agyr-modal{
  width: min(520px, 100%);
  background: #ffffff;
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  text-align: center;
}

.agyr-title{
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.agyr-body{
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 16px;
}

.agyr-yes{
  display: inline-block;
  border: 0;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  background: #1aa34a;
  color: #fff;
}

.agyr-yes:active{
  transform: translateY(1px);
}

.agyr-noscript{
  margin-top: 14px;
  font-size: 13px;
  opacity: .8;
}

.agyr-scroll-lock{
  overflow: hidden !important;
}