
.age-modal,
.age-modal * {
  box-sizing: border-box;
}
.age-modal button {
  font: inherit;
  cursor: pointer;
}
.age-modal button:focus {
  outline: none;
}
.age-modal [hidden] {
  display: none !important;
}
.age-modal {
  --age-green: #5c7f40;
  --age-text: #1c1d1b;
  --age-muted: #7b8294;
  line-height: 1.5;
  width: min(480px, calc(100% - 32px));
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: var(--age-text);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  box-shadow: 0 25px 90px #0005;
  margin: auto;
}
.age-modal::backdrop {
  background: rgba(12, 16, 12, 0.86);
  backdrop-filter: blur(7px);
}
.age-panel {
  padding: 38px 40px 42px;
  text-align: center;
}
.age-leaf-icon {
  display: block;
  font-size: 42px;
  line-height: 1.3;
  margin-bottom: 14px;
}
.age-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--age-green);
  margin: 0 0 10px;
}
.age-panel h1,
.age-panel h2 {
  color: var(--age-text);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin: 0;
}
.age-panel .age-description {
  font-size: 16px;
  line-height: 1.55;
  color: var(--age-muted);
  margin: 15px 7px 0;
}
.age-actions {
  display: grid;
  gap: 12px;
  margin-top: 34px;
}
.age-button {
  width: 100%;
  min-height: 55px;
  padding: 13px 20px;
  border: 0;
  border-radius: 40px;
  font-weight: 700;
  font-size: 17px;
  transition:
    background 0.18s,
    transform 0.18s;
}
.age-button-yes {
  background: #13834e;
  color: #fff;
}
.age-button-yes:hover {
  background: #73b247;
}
.age-button-no {
  background: #f3f3f5;
  color: #3c4656;
}
.age-button-no:hover {
  background: #e7e8ed;
}
.age-button:active,
.age-reverify-button:active {
  transform: translateY(1px);
}
.age-footnote {
  font-size: 13px;
  line-height: 1.4;
  color: #9aa2b6;
  margin: 21px 10px 0;
}
.age-denied-panel {
  padding: 44px 40px 44px;
}
.age-denied-icon {
  display: block;
  width: 44px;
  height: 44px;
  border: 6px solid #e32b4c;
  border-radius: 50%;
  position: relative;
  margin: 0 auto 17px;
}
.age-denied-icon:after {
  content: "";
  position: absolute;
  width: 35px;
  height: 6px;
  background: #e32b4c;
  left: -1.5px;
  top: 13px;
  transform: rotate(45deg);
  border-radius: 4px;
}
.age-denied-panel h2 {
  font-size: 26px;
  letter-spacing: -0.65px;
}
.age-denied-panel .age-description {
  margin-top: 17px;
}
.age-reverify-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 47px;
  border: 2px solid #13834e;
  border-radius: 30px;
  padding: 10px 28px;
  color: var(--age-green);
  background: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-top: 34px;
  transition:
    background 0.18s,
    transform 0.18s;
}
.age-reverify-button:hover {
  background: #f2f7ed;
}
.age-modal :focus-visible {
  outline: 3px solid #316bc1;
  outline-offset: 4px;
}
@media (max-width: 480px) {
  .age-panel {
    padding: 30px 24px 32px;
  }
  .age-panel h1 {
    font-size: 25px;
  }
  .age-panel h2 {
    font-size: 24px;
  }
  .age-panel .age-description {
    font-size: 15px;
    margin-inline: 0;
  }
  .age-actions {
    margin-top: 28px;
  }
  .age-button {
    font-size: 16px;
    min-height: 52px;
  }
  .age-footnote {
    font-size: 12px;
    margin-inline: 0;
  }
  .age-denied-panel {
    padding: 35px 25px;
  }
  .age-reverify-button {
    margin-top: 28px;
  }
  .age-modal {
    border-radius: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .age-button,
  .age-reverify-button {
    transition: none;
  }
  .age-modal::backdrop {
    backdrop-filter: none;
  }
}
