/* Shared frame: reset, logo slot, lightbox. Each version brings its own layout. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid #1c4f91; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.slot {
  position: relative;
  display: block;
  width: 176px;
  height: 46px;
  overflow: hidden;
  flex: none;
  background: #fff;
}
.slot img {
  position: absolute;
  max-width: none;
  width: auto;
  height: auto;
}
.slot-13 img { width: 208.79px; height: 117.45px; left: -37.52px; top: -36.87px; }
.slot-15 img { width: 210.54px; height: 118.43px; left: -18.59px; top: -35.56px; }
.slot-19 img { width: 81.78px; height: 46px; left: 0; top: 0; }

.lb {
  width: min(1100px, 100vw);
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
}
.lb::backdrop { background: rgba(8, 12, 18, 0.92); }
.lb img {
  position: absolute;
  inset: 64px 64px 48px;
  width: calc(100% - 128px);
  height: calc(100% - 112px);
  object-fit: contain;
  margin: auto;
}
.lb button {
  position: absolute;
  z-index: 2;
  border: 0;
  background: rgba(255, 255, 255, 0.96);
  color: #142033;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font: 600 18px/1 "Source Sans 3", system-ui, sans-serif;
  cursor: pointer;
}
.lb-x { top: 16px; right: 16px; font-size: 13px; letter-spacing: 0.02em; width: auto; padding: 0 14px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 700px) {
  .lb img { inset: 72px 12px 64px; width: calc(100% - 24px); height: calc(100% - 136px); }
  .lb-prev { left: 10px; top: auto; bottom: 12px; transform: none; }
  .lb-next { right: 10px; top: auto; bottom: 12px; transform: none; }
}
