/* css/base.css - Podstawowe style i zmienne */

:root {
  --safe-action: 0.05;
  --safe-title: 0.10;
  --font-ui: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

html, body {
  height: 100%;
  margin: 0;
  background: transparent;
  overflow: hidden;
}

.wrap {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stage {
  position: relative;
  box-sizing: border-box;
  background: transparent;
}

@media (min-aspect-ratio: 16/9) {
  .stage {
    height: 100vh;
    width: calc(100vh * 16 / 9);
  }
}

@media (max-aspect-ratio: 16/9) {
  .stage {
    width: 100vw;
    height: calc(100vw * 9 / 16);
  }
}

.comp {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.overlay {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.35));
}

.t {
  font-family: var(--font-ui);
  letter-spacing: .01em;
}

/* Wspólne dla wszystkich wrapperów */
.overlay-wrap {
  position: absolute;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.overlay-wrap.hidden {
  display: none;
}

.overlay-wrap.show {
  opacity: 1;
}