.age-gate-pending {
  overflow: hidden;
}

#directory-content {
  display: contents;
}

.age-gate-pending #directory-content {
  visibility: hidden;
}

.age-gate[hidden],
.age-gate [hidden] {
  display: none;
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 2147483647;
  display: grid;
  align-items: safe center;
  justify-items: center;
  overflow: auto;
  padding: 20px;
  background: radial-gradient(ellipse at top, #37232e, #18151c 70%);
  color: #fff4ed;
  font: 16px/1.5 system-ui, sans-serif;
  text-align: center;
}

.age-gate-card {
  width: min(100%, 480px);
  padding: clamp(20px, 5vw, 36px);
  border: 1px solid #5f424c;
  border-radius: 20px;
  background: #241d26;
  box-shadow: 0 18px 60px rgb(0 0 0 / 35%);
}

.age-gate-card img {
  width: 110px;
  height: auto;
}

.age-gate-card h1 {
  margin: 8px 0 12px;
  color: inherit;
  font-size: clamp(23px, 6vw, 30px);
  line-height: 1.2;
}

.age-gate-card p {
  margin: 0 0 14px;
}

#age-gate-countdown {
  min-height: 1.5em;
  color: #ffd3bd;
  font-variant-numeric: tabular-nums;
}

.age-gate-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.age-gate-actions button,
.age-gate-actions a {
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #8d6a76;
  border-radius: 10px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

#age-gate-enter,
#browser-gate-open {
  border-color: #ffaf98;
  background: #ffaf98;
  color: #24151c;
  font-weight: 700;
}

#age-gate-enter:disabled {
  opacity: .55;
  cursor: default;
}

.age-gate-actions button:focus-visible,
.age-gate-actions a:focus-visible {
  outline: 2px solid #fff4ed;
  outline-offset: 3px;
}

.age-gate-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

#browser-gate-open {
  text-decoration: none;
}
