/* Age-gate + cookie consent. Sin contenido inline (CSP style-src 'self'):
   toda regla vive acá, consent.js sólo alterna clases. */

body.pre-consent > *:not(#age-gate):not(script) {
  visibility: hidden;
}

#age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1a0f14;
  visibility: visible;
  padding: 24px;
}

#age-gate.hidden {
  display: none;
}

.age-gate-card {
  max-width: 420px;
  width: 100%;
  text-align: center;
  color: #fdf2f6;
}

.age-gate-card img {
  width: 96px;
  margin-bottom: 20px;
}

.age-gate-card h1 {
  font-size: 22px;
  margin: 0 0 12px;
}

.age-gate-card p {
  font-size: 14px;
  line-height: 1.5;
  color: #cbb3bd;
  margin: 0 0 24px;
}

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

.age-gate-actions button {
  flex: 1;
  max-width: 160px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

#age-gate-yes {
  background: #e91e8c;
  color: #fff;
}

#age-gate-no {
  background: transparent;
  border-color: #cbb3bd;
  color: #cbb3bd;
}

.age-gate-legal {
  margin-top: 20px !important;
  font-size: 12px !important;
  color: #8a7580 !important;
}

.age-gate-legal a {
  color: #e91e8c;
}

#cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 9998;
  max-width: 640px;
  margin: 0 auto;
  background: #1a0f14;
  color: #fdf2f6;
  border-radius: 10px;
  padding: 16px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  visibility: visible;
}

#cookie-consent.hidden {
  display: none;
}

#cookie-consent p {
  flex: 1 1 260px;
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #cbb3bd;
}

#cookie-consent a {
  color: #e91e8c;
}

#cookie-consent-accept {
  flex: 0 0 auto;
  background: #e91e8c;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
