html, body {
  margin: 0;

  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, sans-serif;
}

#app {
  height: auto; /* or 100% only if needed */
  overflow-y: auto;
}

.screen {
  display: none;
  height: 100vh;       /* fixed viewport height */
  padding: 40px;
  box-sizing: border-box;
  overflow-y: auto;    /* scrollable inside the screen */
  -webkit-overflow-scrolling: touch; /* smooth scroll on touch screens */
}


.screen.active {
  display: block;
}

.title {
  font-size: 42px;
  margin-bottom: 32px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--gap);
}
.swiper-button-prev,
.swiper-button-next {
  width: 60px;
  height: 60px;
}
.grid {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

#top-logo {
  width: 100%;
  text-align: center;
  padding: 10px 0;
  background: var(--bg); /* optional, same as your app background */
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* optional subtle shadow */
  z-index: 1000;
}

#top-logo img {
  max-height: 100px;   /* adjust height as needed */
  max-width: 90%;     /* prevent overflow on smaller screens */
  object-fit: contain;
}

#lightbox-logo {
  position: fixed;   /* position relative to #lightbox */
  top: 90px;            /* distance from top */
  left: 30px;           /* distance from left */
  width: 80px;          /* adjust size */
  height: auto;
  z-index: 1000;        /* make sure it’s above Swiper images */
  pointer-events: none; /* allows clicks to pass through to swiper */
}
