/* ScarletLobby — ajustes de layout da home (igual referência HHH5 / layout38) */

.theme-scarlet-lobby #inicio .main-content .order-container {
  display: flex;
  flex-direction: column;
}

/* Referência não usa banner swiper grande no topo */
.theme-scarlet-lobby #inicio .main-content .order-container .swiper-c {
  display: none !important;
}

/* Ordem visual: Activity 2x2 → Marquee → Bonus → resto */
.theme-scarlet-lobby #inicio .main-content .order-container .activity-c {
  order: 1;
}

.theme-scarlet-lobby #inicio .main-content .order-container .marquee-c {
  order: 2;
}

.theme-scarlet-lobby #inicio .main-content .order-container .bonus-pool-c {
  order: 3;
}

.theme-scarlet-lobby #inicio .main-content .order-container .user-info-c,
.theme-scarlet-lobby #inicio .main-content .order-container .userInfo-c {
  order: 4;
}

.theme-scarlet-lobby #inicio .main-content .order-container .segment-c {
  order: 5;
}

.theme-scarlet-lobby #inicio .main-content .order-container .game-wrapper-c,
.theme-scarlet-lobby #inicio .main-content .order-container .game-list-box {
  order: 6;
}

.theme-scarlet-lobby #inicio .main-content .order-container .ranking-c {
  order: 7;
}

.theme-scarlet-lobby #inicio .main-content .order-container .apart-view-c {
  order: 8;
}

.theme-scarlet-lobby #inicio .main-content .order-container .footer-c {
  order: 9;
}

/* Sidebar + grid estilo referência */
.theme-scarlet-lobby #inicio .game-list-box .wrapper.layout38.segment-c {
  margin-bottom: 16px;
}

.theme-scarlet-lobby #inicio .game-list-box .column.layout38 ion-segment-button {
  min-height: 68px;
}

.theme-scarlet-lobby #inicio .tabbar-tabs-inicio-components-GameWrapper-index {
  border-radius: 0.75rem;
  background: var(--ep-color-background-fill-active-primary);
}

.theme-scarlet-lobby #inicio .game-head.layout38 {
  min-height: 2.625rem;
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
}

.theme-scarlet-lobby .float-img {
  z-index: 50;
  pointer-events: auto;
}

.theme-scarlet-lobby .red-packet-rain {
  z-index: 51;
}
