/* Static replica overrides: sizing, local hit areas, and CSS-only motion. */

html[data-ui-contain="1"] {
  --lobby__max-width: min(100vw, 56.2218vh);
  --lobby__vh: 1vh;
  max-width: var(--lobby__max-width);
  margin: 0 auto;
  background: var(--skin__border);
}

html,
body {
  height: 100%;
  overflow: hidden;
}

body {
  background: var(--skin__bg_1);
}

#app {
  height: 100%;
}

/* The page is designed as an app scroll area; hide the native bar. */
section._main_jlvsk_89 {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

section._main_jlvsk_89::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

/* Responsive banner: only the first slide is kept, and it scales with the page. */
._banner-container_734g0_89 .static-banner-track {
  width: 100% !important;
  transform: none !important;
}

._banner-container_734g0_89 .static-banner-slide {
  width: 100% !important;
  flex: 0 0 100% !important;
}

._banner-container_734g0_89 .static-banner-slide ._banner-item_2xb4a_90,
._banner-container_734g0_89 .static-banner-slide ._bg-img_2xb4a_96,
._banner-container_734g0_89 .static-banner-slide ._bg-img-3_2xb4a_110 {
  width: 100%;
}

/* CSS-only announcement marquee. */
._marquee_gm0g4_93 .static-marquee {
  display: block;
  flex: 1;
  min-width: 0;
  height: 0.35rem;
  overflow: hidden;
  white-space: nowrap;
}

._marquee_gm0g4_93 .static-marquee-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: static-marquee-left 18s linear infinite;
}

._marquee_gm0g4_93 .static-marquee-item {
  display: inline-block;
  flex: 0 0 auto;
}

._marquee_gm0g4_93 .static-marquee-item > ._content_gm0g4_124 {
  display: inline-block;
  min-width: 0;
  padding-right: 0.55rem;
}

._marquee_gm0g4_93 .static-marquee-item p {
  display: inline-block;
  margin: 0;
  line-height: 0.35rem;
}

@keyframes static-marquee-left {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  ._marquee_gm0g4_93 .static-marquee-track {
    animation: none;
  }
}

/* Static link overlays. They preserve the original layout and add only a hit area. */
.static-hit-parent {
  position: relative;
}

.static-hit {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: inherit;
  -webkit-tap-highlight-color: transparent;
}

.static-hit:focus-visible {
  outline: 2px solid var(--skin__filter_active);
  outline-offset: 2px;
}

.static-hit:hover {
  text-decoration: none;
}

header .static-menu-hit {
  left: 0;
  top: 0;
  width: 0.87rem;
  height: 100%;
  inset: 0 auto auto 0;
}

header .lobby-home-header-container__section--right {
  position: relative;
}

/* Keep the bottom navigation active icon states exactly as captured. */
footer .ui-tabbar-item .static-hit {
  z-index: 7;
}

/* The original page uses a rem-scaled layout. Keep text selection off the hit areas. */
.static-hit {
  user-select: none;
}
