/* 12-overlays.css — age-gate modal, mobile menu (already in 05), map placeholder. */

.tl-age-gate {
  position: fixed;
  inset: 0;
  background: rgba(20, 18, 16, 0.82);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: tl-age-fade var(--t-mid) var(--ease-soft);
}
@keyframes tl-age-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.tl-age-gate__box {
  background: var(--c-paper);
  border: 2px solid var(--c-ink);
  border-radius: 8px; /* dopuszczony wyjątek dla age-gate modal */
  max-width: 480px;
  padding: 40px 32px;
  text-align: center;
}

.tl-age-gate__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--c-ink);
  margin-bottom: 16px;
}

.tl-age-gate__copy {
  font-size: var(--f-body-s);
  color: var(--c-ink-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.tl-age-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.tl-age-gate__deny {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--c-ink-muted);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.tl-age-gate__deny:hover {
  color: var(--c-ox);
  text-decoration-thickness: 2px;
}

/* Map */
.tl-map {
  aspect-ratio: 16 / 9;
  background: var(--c-bone-alt);
  border: 1px solid var(--c-stone);
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
}
.tl-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
@media (max-width: 768px) {
  .tl-map { aspect-ratio: 4 / 3; }
}

.tl-map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 24px;
  text-align: center;
  background: var(--c-bone-alt);
}
.tl-map-placeholder p {
  font-size: var(--f-body-s);
  color: var(--c-ink-muted);
  margin-bottom: 16px;
}

/* Reveal soft (opacity-only — NIE translate) */
[data-tl-reveal] {
  opacity: 0;
  transition: opacity 600ms var(--ease-soft);
}
[data-tl-reveal][data-revealed="true"] { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  [data-tl-reveal] { opacity: 1 !important; transition: none; }
}
