[data-age-gate][hidden],
[data-age-actions][hidden],
[data-age-content][hidden],
[data-cookie-notice][hidden] {
  display: none !important;
}

[data-age-content]:not([hidden]) {
  display: contents;
}

.age-gate {
  display: grid;
  flex: 1;
  place-items: center;
  padding: clamp(1rem, 5vw, 3rem);
}

.age-gate-card {
  width: min(100%, 44rem);
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid #6c6c6c;
  border-top: 3px solid var(--neon);
  border-radius: 0.75rem;
  background: var(--bg-card);
  text-align: center;
}

.age-gate-card h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1.05;
}

.age-gate-card noscript p {
  margin-top: 1rem;
}

.age-gate-denied {
  color: #ffb9ae;
  font-size: 0.94rem;
}

.age-gate-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 9rem));
  justify-content: center;
  gap: 0.75rem;
  margin-block: 1.5rem 1.25rem;
}

.age-gate-actions button {
  min-height: 3rem;
  padding: 0.5rem;
  border: 1px solid #8a8a8a;
  border-radius: 0.25rem;
  background: var(--bg-card);
  color: var(--fg);
  cursor: pointer;
  font: 600 1rem var(--font-body);
}

.age-gate-actions .age-gate-yes {
  border-color: var(--neon);
  background: var(--neon);
  color: #080808;
}

.age-gate-actions button:hover {
  outline: 1px solid var(--neon);
}

.age-gate :focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 4px;
}

.age-gate-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin-top: 1.25rem;
  font-size: 0.875rem;
}

.age-gate-links a {
  color: var(--fg-mid);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

html:has([data-cookie-notice]:not([hidden])) {
  scroll-padding-bottom: var(--cookie-notice-height, 0px);
}

.landing-page:has([data-cookie-notice]) {
  padding-bottom: var(--cookie-notice-height, 0px);
}

.cookie-notice {
  position: fixed;
  z-index: 20;
  inset: auto 0 0;
  border-top: 1px solid #47772b;
  background: #101210;
  padding-block: 0.9rem calc(0.9rem + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -0.5rem 1.5rem #0005;
}

.cookie-notice-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 2rem;
}

.cookie-notice h2 {
  margin-bottom: 0.2rem;
  font-size: 1rem;
  line-height: 1.25;
}

.cookie-notice p {
  color: #d3d9d0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.cookie-notice a {
  color: var(--neon);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-notice button {
  flex: 0 0 auto;
  min-height: 2.75rem;
  padding: 0.45rem 1rem;
  border: 1px solid var(--neon);
  border-radius: 0.25rem;
  background: var(--neon);
  color: #080808;
  font: 600 0.875rem var(--font-body);
  cursor: pointer;
}

.cookie-notice :focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 4px;
}

@media (max-width: 580px) {
  .cookie-notice-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
