/* Age restriction modal styles */

.tmh-age {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tmh-age__backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.92));
  backdrop-filter: blur(6px);
}

.tmh-age__dialog {
  position: relative;
  max-width: 520px;
  width: 100%;
  padding: var(--space-7) var(--space-7) var(--space-6);
}

.tmh-age__content {
  position: relative;
}

.tmh-age__label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(239, 68, 68, 0.8);
  background: rgba(127, 29, 29, 0.4);
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fee2e2;
  margin-bottom: var(--space-4);
}

.tmh-age__title {
  margin-bottom: var(--space-3);
}

.tmh-age__desc {
  font-size: 0.95rem;
}

.tmh-age__hint {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.5rem;
}

.tmh-age__actions {
  margin-top: var(--space-6);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tmh-age__btn {
  flex: 1 1 48%;
  justify-content: center;
}

@media (max-width: 480px) {
  .tmh-age__dialog {
    margin: 0 var(--space-4);
    padding-inline: var(--space-5);
  }

  .tmh-age__actions {
    flex-direction: column;
  }

  .tmh-age__btn {
    flex-basis: auto;
  }
}

.tmh-age__btn:focus-visible {
  box-shadow: var(--shadow-focus);
}
