.dgr-age-gate {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.dgr-age-gate.is-visible {
  display: flex;
}

.dgr-age-gate__overlay {
  position: absolute;
  inset: 0;
  background: var(--dgr-age-gate-overlay, rgba(0, 0, 0, 0.55));
}

.dgr-age-gate__box {
  position: relative;
  width: min(var(--dgr-age-gate-width, 360px), calc(100vw - 48px));
  background: var(--dgr-age-gate-bg, #ffffff);
  color: var(--dgr-age-gate-text, #222222);
  border: 1px solid var(--dgr-age-gate-border, #dddddd);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  padding: 24px;
  text-align: center;
}

.dgr-age-gate__title {
  font-size: 20px;
  line-height: 1.25;
  font-weight: 600;
  margin: 0;
}

.dgr-age-gate__body {
  font-size: 14px;
  line-height: 1.45;
  margin-top: 10px;
}

.dgr-age-gate__actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.dgr-age-gate__button {
  flex: 1;
  appearance: none;
  border: 1px solid var(--dgr-age-gate-button-bg, #000000);
  border-radius: 8px;
  background: var(--dgr-age-gate-button-bg, #000000);
  color: var(--dgr-age-gate-button-text, #ffffff);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  padding: 13px 16px;
  cursor: pointer;
}

.dgr-age-gate__button--no {
  background: transparent;
  color: var(--dgr-age-gate-text, #222222);
}

body.dgr-age-gate-locked {
  overflow: hidden;
}

@media (max-width: 600px) {
  .dgr-age-gate__box {
    padding: 22px;
    border-radius: 12px;
  }

  .dgr-age-gate__title {
    font-size: 18px;
  }
}
