/* =========================================================
   main2-guest.css
   Guest lobby (/login) — isolated UI layer (no NewDesign.css)
   Goal: lobby-lite look & feel, minimal dependencies
   Scope: primarily .login-page (and guest header in main2-guest)
========================================================= */

:root{
  /* align with design-core --topbarH (main2 family) */
  --guestTopbarH: clamp(64px, 5vw, 84px);
  --guestMaxW: 1480px;
  --guestPageW: min(1760px, calc(100% - 40px));
  --guestSidePad: 18px;

  --guestCardRad: 18px;
  --guestRadSm: 12px;
  --guestRadPill: 999px;

  --guestBorder: rgba(118,128,182,.18);
  --guestBorderSoft: rgba(118,128,182,.10);
  --guestText: rgba(241,245,249,.94);
  --guestText2: rgba(203,213,225,.86);
  --guestMuted: rgba(148,163,184,.82);
  --guestBgA: rgba(22,24,48,.92);
  --guestBgB: rgba(11,14,30,.95);
  --guestPanel: linear-gradient(180deg, rgba(22,24,48,.86) 0%, rgba(11,14,30,.92) 100%);
}

/* ====== Guest topbar (layout: main2-guest.blade.php) ====== */
.panelUpNew.panelUp--guest{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--guestTopbarH);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
}
.panelUp--guest .panelUpInnerNew{
  width: min(var(--guestMaxW), calc(100% - 40px));
  height: 100%;
  padding: 0 var(--guestSidePad);
  border-radius: var(--guestCardRad);
  /* closer to .isLobby .panelUpInnerNew (main2 + design-core) */
  background: linear-gradient(180deg, rgba(24,26,52,.94) 0%, rgba(11,14,30,.96) 100%);
  border: 1px solid rgba(112,120,172,.26);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.034) inset,
    0 12px 32px rgba(0,0,0,.36),
    0 1px 0 rgba(150,162,228,.055) inset;
  display: flex;
  align-items: center;
}
.panelUp--guest .panelUpGuestAuthNew{
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}
.panelUp--guest .panelUpContentNew{
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 20px;
}

/* Brand + nav (parity with inline rules in main2.blade.php; guest-only scope) */
.panelUp--guest .panelUpLeftNew{
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
  flex-wrap: wrap;
}
.panelUp--guest .panelUpBrandNew{
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.panelUp--guest .panelUpLogoNew{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(12,16,34,.92) 0%, rgba(7,10,24,.98) 100%);
  border: 1px solid rgba(118,128,182,.18);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.025) inset,
    0 6px 16px rgba(0,0,0,.24);
  overflow: hidden;
  flex-shrink: 0;
}
.panelUp--guest .panelUpLogoImgNew{
  width: 84%;
  height: 84%;
  object-fit: contain;
  display: block;
}
.panelUp--guest .panelUpBrandTextNew{
  font-size: 25px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1;
  color: #eef2ff;
}
.panelUp--guest .panelUpNavNew{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
}
.panelUp--guest .panelUpNavButtonNew{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  color: #e8eaf4;
  border: 1px solid rgba(100, 108, 158, 0.28);
  background: rgba(22, 26, 48, 0.45);
  opacity: .88;
  transition: background .2s ease, color .2s ease, border-color .2s ease, opacity .2s ease, box-shadow .2s ease;
}
.panelUp--guest .panelUpNavButtonNew:hover{
  background: rgba(22, 26, 48, 0.88);
  color: #e8eaf4;
  border-color: rgba(100, 108, 158, 0.38);
  opacity: 1;
}
.panelUp--guest .panelUpNavButtonNew.is-active{
  background: linear-gradient(135deg, rgba(34, 38, 72, 0.88) 0%, rgba(18, 22, 42, 0.92) 100%);
  color: #f4f6fb;
  border-color: rgba(118, 128, 182, 0.44);
  box-shadow: 0 0 0 1px rgba(255,255,255,.04) inset, 0 1px 8px rgba(0,0,0,.22);
  opacity: 1;
}
.panelUp--guest .panelUpNavIconNew{
  font-size: 13px;
  opacity: .92;
}

/* CTA buttons */
.panelUp--guest .panelUpGuestCtaPrimary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  min-height: 46px;
  border-radius: var(--guestRadPill);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .04em;
  color: #fff;
  border: 1px solid rgba(118,128,182,.22);
  background: linear-gradient(135deg, rgba(34,38,72,.82) 0%, rgba(18,22,42,.92) 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 6px 18px rgba(0,0,0,.32);
  text-decoration: none;
  transition: filter .18s ease, box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
.panelUp--guest .panelUpGuestCtaPrimary:hover{
  filter: brightness(1.05);
  border-color: rgba(118,128,182,.30);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.08) inset,
    0 10px 26px rgba(0,0,0,.36);
  transform: translateY(-1px);
}
.panelUp--guest .panelUpGuestCtaSecondary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  min-height: 40px;
  border-radius: var(--guestRadPill);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .03em;
  color: rgba(203,213,225,.86);
  text-decoration: none;
  border: 1px solid rgba(148,163,184,.34);
  background: rgba(22,24,48,.18);
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.panelUp--guest .panelUpGuestCtaSecondary:hover{
  color: rgba(241,245,249,.94);
  border-color: rgba(148,163,184,.50);
  background: rgba(22,26,48,.30);
}

/* ====== Page geometry (/login) ====== */
.login-page .contentBlock{
  margin-top: var(--guestTopbarH);
  padding-top: 0;
  padding-left: clamp(12px, 2.5vw, 24px);
  padding-right: clamp(12px, 2.5vw, 24px);
  padding-bottom: 32px;
  min-height: calc(100vh - var(--guestTopbarH));
  box-sizing: border-box;
}
.login-page #TYDY_WRAPPER{
  padding-top: 8px;
}
.login-page .loginLobbyContent{
  width: var(--guestPageW);
  margin: 0 auto;
  padding: 0 var(--guestSidePad) 22px;
  box-sizing: border-box;
}

/* Hidden checkbox for modal / label pattern (design-core rule not loaded on guest) */
.loginModalCloseInput{
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ====== Guest banner (full-width row + centered icon+text group) ====== */
.login-page .guestLoginBanner{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 13px 22px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  border-radius: 15px;
  background: linear-gradient(145deg, rgba(24,28,52,.72) 0%, rgba(12,16,34,.82) 55%, rgba(10,14,30,.88) 100%);
  border: 1px solid rgba(118,128,182,.2);
  color: rgba(226,232,240,.96);
  box-shadow:
    0 6px 22px rgba(0,0,0,.2),
    inset 0 1px 0 rgba(255,255,255,.055);
  margin: 6px 0 16px;
}
.login-page .guestLoginBanner__inner{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  max-width: 100%;
  text-align: left;
}
.login-page .guestLoginBanner__icon{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: linear-gradient(180deg, rgba(30,36,62,.9) 0%, rgba(15,23,42,.75) 100%);
  border: 1px solid rgba(118,128,182,.24);
  color: rgba(199,210,250,.95);
  font-size: 15px;
  line-height: 1;
}
.login-page .guestLoginBanner__text{
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .015em;
  line-height: 1.4;
  color: rgba(241,245,249,.94);
}

/* ====== News hero (news3--singleHero) — minimal subset ====== */
.login-page .news3{
  margin: 0 0 10px;
}
.login-page .news3--singleHero .news3__heroRow{
  display: block;
}
.login-page .news3--singleHero .news3__heroWrap{
  border-radius: var(--guestCardRad);
  overflow: hidden;
  border: 1px solid rgba(118,128,182,.16);
  background: rgba(15,23,42,.38);
  box-shadow: 0 12px 38px rgba(0,0,0,.34);
}
.login-page .news3--singleHero .news3__heroStage{
  position: relative;
  min-height: clamp(200px, 52vw, 236px);
}
.login-page .news3--singleHero .news3__hero{
  display: none;
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: clamp(200px, 52vw, 236px);
}
.login-page .news3--singleHero .news3__hero.is-active{
  display: block;
}
.login-page .news3--singleHero .news3__heroOverlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 320px at 18% 20%, rgba(99,102,241,.14) 0%, rgba(0,0,0,0) 65%),
    linear-gradient(180deg, rgba(2,6,23,.30) 0%, rgba(2,6,23,.70) 70%, rgba(2,6,23,.86) 100%);
}
.login-page .news3--singleHero .news3__heroInner{
  position: relative;
  z-index: 2;
  padding: 18px 18px 16px;
  max-width: min(800px, 92%);
}
.login-page .news3--singleHero .news3__heroTag{
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: var(--guestRadPill);
  background: rgba(22,24,48,.55);
  border: 1px solid rgba(118,128,182,.18);
  color: rgba(210,218,235,.94);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.login-page .news3--singleHero .news3__heroTitle{
  margin: 12px 0 10px;
  color: rgba(248,250,252,.97);
  font-size: clamp(17px, 4vw, 24px);
  font-weight: 850;
  letter-spacing: .02em;
  line-height: 1.12;
}
.login-page .news3--singleHero .news3__heroDesc{
  margin: 0 0 14px;
  color: rgba(203,213,225,.9);
  font-size: 13px;
  line-height: 1.5;
}
.login-page .news3--singleHero .news3__heroCta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--guestRadPill);
  border: 1px solid rgba(118,128,182,.2);
  background: rgba(22,24,48,.48);
  color: rgba(241,245,249,.95);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: filter .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}
.login-page .news3--singleHero .news3__heroCta:hover{
  filter: brightness(1.05);
  border-color: rgba(118,128,182,.26);
  background: rgba(22,26,48,.52);
  transform: translateY(-1px);
}
.login-page .news3--singleHero .news3__heroControls{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}
.login-page .news3--singleHero .news3__heroDots{
  position: absolute;
  left: 16px;
  bottom: 12px;
  z-index: 3;
  display: inline-flex;
  gap: 8px;
  pointer-events: auto;
}
.login-page .news3--singleHero .news3__heroDot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,.40);
  background: rgba(15,23,42,.35);
}
.login-page .news3--singleHero .news3__heroDot.is-active{
  background: rgba(248,250,252,.86);
  border-color: rgba(248,250,252,.80);
}
/* Prev/next: видимые стрелки; кликабельность как в lobby-паттерне (nav — pointer-events none, кнопки — auto) */
.login-page .news3--singleHero .news3__heroNav{
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.login-page .news3--singleHero .news3__heroNav .news3__nav{
  pointer-events: auto;
  position: absolute;
  top: 50%;
  margin-top: -18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(30,41,59,.52);
  color: rgba(255,255,255,.93);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,.28);
  transition: background .18s ease, border-color .18s ease;
}
.login-page .news3--singleHero .news3__heroNav .news3__nav--prev{ left: 12px; }
.login-page .news3--singleHero .news3__heroNav .news3__nav--next{ right: 12px; }
.login-page .news3--singleHero .news3__heroNav .news3__nav:hover{
  background: rgba(51,65,85,.58);
  border-color: rgba(255,255,255,.32);
}

/* Guest hero: stronger presence on large screens; modest on tablet/mobile */
@media (min-width: 768px){
  .login-page .news3--singleHero .news3__heroStage,
  .login-page .news3--singleHero .news3__hero{
    min-height: 256px;
  }
  .login-page .news3--singleHero .news3__heroInner{
    padding: 20px 22px 18px;
  }
  .login-page .news3--singleHero .news3__heroTag{
    font-size: 12px;
    padding: 8px 13px;
  }
  .login-page .news3--singleHero .news3__heroTitle{
    font-size: clamp(18px, 2.6vw, 26px);
    margin: 14px 0 10px;
  }
  .login-page .news3--singleHero .news3__heroDesc{
    font-size: 14px;
    margin: 0 0 16px;
  }
}
@media (min-width: 992px){
  .login-page .news3--singleHero .news3__heroStage,
  .login-page .news3--singleHero .news3__hero{
    min-height: 286px;
  }
  .login-page .news3--singleHero .news3__heroInner{
    padding: 24px 28px 22px;
  }
  .login-page .news3--singleHero .news3__heroTitle{
    font-size: clamp(20px, 2.2vw, 28px);
    margin: 16px 0 12px;
  }
  .login-page .news3--singleHero .news3__heroDesc{
    font-size: 15px;
    max-width: 52ch;
  }
  .login-page .news3--singleHero .news3__heroCta{
    padding: 11px 22px;
    font-size: 14px;
  }
}

/* ====== Slots section (guest) ====== */
.login-page .slotsSectionNew.slotsSectionGuestNew{
  margin-top: 6px;
  border-radius: var(--guestCardRad);
  border: 1px solid rgba(118,128,182,.12);
  background: linear-gradient(180deg, rgba(22,24,48,.58) 0%, rgba(11,14,30,.66) 100%);
  box-shadow: 0 10px 30px rgba(0,0,0,.28);
  padding: 14px;
}
.login-page .slotsToolbarNew{
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}
.login-page .slotsTabsNew{
  display: inline-flex;
  gap: 8px;
}
.login-page .slotsTabNew{
  border: 1px solid rgba(118,128,182,.14);
  background: rgba(22,24,48,.26);
  color: rgba(203,213,225,.86);
  border-radius: var(--guestRadPill);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.login-page .slotsTabNew:hover{
  background: rgba(22,26,48,.34);
  border-color: rgba(118,128,182,.22);
  color: rgba(241,245,249,.94);
  transform: translateY(-1px);
}
.login-page .slotsTabNew.is-active{
  background: linear-gradient(135deg, rgba(34,38,72,.70) 0%, rgba(18,22,42,.84) 100%);
  border-color: rgba(118,128,182,.26);
  color: rgba(244,246,251,.96);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.login-page .slotsSearchWrapNew{
  position: relative;
  min-width: 0;
}
.login-page .slotsSearchIconNew{
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(148,163,184,.78);
  font-size: 13px;
}
.login-page .slotsSearchInputNew{
  width: 100%;
  min-height: 40px;
  padding: 10px 12px 10px 34px;
  border-radius: var(--guestRadPill);
  border: 1px solid rgba(118,128,182,.12);
  background: rgba(22,24,48,.22);
  color: rgba(241,245,249,.92);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.login-page .slotsSearchInputNew:focus{
  border-color: rgba(118,128,182,.22);
  box-shadow: 0 0 0 2px rgba(118,128,182,.20);
  background: rgba(22,24,48,.28);
}

/* Providers ribbon */
.login-page .slotsToolbarProviderClusterNew{ justify-self: end; }
.login-page .slotsProviderRibbonOuterNew{
  max-width: min(520px, 46vw);
  overflow: hidden;
  border-radius: var(--guestRadPill);
  border: 1px solid rgba(118,128,182,.14);
  background: rgba(22,24,48,.26);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.login-page .slotsProviderRibbonTrackNew{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.login-page .slotsProviderRibbonTrackNew::-webkit-scrollbar{ height: 0; }
.login-page .slotsProviderRibbonChipNew{
  flex: 0 0 auto;
  border: 1px solid rgba(118,128,182,.12);
  background: rgba(22,24,48,.18);
  color: rgba(203,213,225,.86);
  border-radius: var(--guestRadPill);
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
  line-height: 1.2;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.login-page .slotsProviderRibbonChipNew:hover{
  background: rgba(22,26,48,.28);
  border-color: rgba(118,128,182,.18);
  color: rgba(241,245,249,.94);
  transform: translateY(-1px);
}
.login-page .slotsProviderRibbonChipNew.is-active{
  background: linear-gradient(135deg, rgba(34,38,72,.68) 0%, rgba(18,22,42,.82) 100%);
  border-color: rgba(118,128,182,.24);
  color: rgba(244,246,251,.96);
}
.login-page .slotsProviderRibbonMoreNew{
  flex: 0 0 auto;
  border: 1px solid rgba(148,163,184,.22);
  background: rgba(15,23,42,.30);
  color: rgba(203,213,225,.88);
  border-radius: var(--guestRadPill);
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 750;
}
.login-page .slotsProviderRibbonMoreNew:hover{
  background: rgba(15,23,42,.40);
  border-color: rgba(148,163,184,.34);
}

/* Provider panel sheet */
.slotsProviderPanelNew{ display:none; }
.slotsProviderPanelNew.is-open{
  display:block;
  position: fixed;
  inset: 0;
  z-index: 1200;
}
.slotsProviderPanelBackdropNew{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.55);
}
.slotsProviderPanelSheetNew{
  position: absolute;
  left: 50%;
  top: calc(var(--guestTopbarH) + 20px);
  transform: translateX(-50%);
  width: min(860px, calc(100% - 28px));
  max-height: min(70vh, 680px);
  overflow: auto;
  border-radius: var(--guestCardRad);
  border: 1px solid rgba(118,128,182,.18);
  background: linear-gradient(180deg, rgba(22,24,48,.92) 0%, rgba(11,14,30,.96) 100%);
  box-shadow: 0 20px 60px rgba(0,0,0,.55);
}
.slotsProviderPanelHeaderNew{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(118,128,182,.10);
  color: rgba(241,245,249,.92);
  font-weight: 800;
  letter-spacing: .04em;
}
.slotsProviderPanelCloseNew{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(118,128,182,.14);
  background: rgba(22,24,48,.26);
  color: rgba(241,245,249,.92);
  font-size: 22px;
  line-height: 1;
}
.slotsProviderPanelCloseNew:hover{
  background: rgba(22,26,48,.34);
  border-color: rgba(118,128,182,.22);
}
.slotsProviderPanelGridNew{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px 16px 16px;
}
.slotsProviderPanelItemNew{
  text-align: left;
  border-radius: 14px;
  border: 1px solid rgba(118,128,182,.12);
  background: rgba(22,24,48,.18);
  color: rgba(203,213,225,.86);
  padding: 10px 12px;
  font-weight: 700;
  line-height: 1.25;
  transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
.slotsProviderPanelItemNew:hover{
  transform: translateY(-1px);
  background: rgba(22,26,48,.26);
  border-color: rgba(118,128,182,.18);
  color: rgba(241,245,249,.94);
}
.slotsProviderPanelItemNew.is-active{
  background: linear-gradient(135deg, rgba(34,38,72,.68) 0%, rgba(18,22,42,.82) 100%);
  border-color: rgba(118,128,182,.24);
  color: rgba(244,246,251,.96);
}
.slotsProviderPanelTextNew{ display:block; }

/* Slots grid/cards — geometry aligned with auth lobby (design-slots-lobby values, inlined) */
.login-page .slotsGridNew{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
}
.login-page .slotCardNew{
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(145deg,#111827,#020617);
  border: 1px solid rgba(71,85,105,.4);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.02) inset,
    0 4px 12px rgba(0,0,0,.25),
    0 12px 28px rgba(0,0,0,.2);
  cursor: pointer;
  transition: box-shadow .22s ease, border-color .22s ease;
}
.login-page .slotCardNew:hover{
  border-color: rgba(96,165,250,.5);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04) inset,
    0 8px 20px rgba(0,0,0,.35),
    0 16px 40px rgba(0,0,0,.3);
}
.login-page .slotThumbNew{
  position: relative;
  width: 100%;
  height: 140px;
  background: #020617;
  overflow: hidden;
}
.login-page .slotThumbNew img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.login-page .slotMetaNew{
  padding: 8px 10px 9px;
}
.login-page .slotProviderNew{
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
  color: rgba(148,163,184,.95);
  margin-bottom: 2px;
}
.login-page .slotTitleNew{
  margin-top: 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  color: #f9fafb;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* More button */
.login-page .slotsMoreBtnNew{
  margin-top: 14px;
  width: 100%;
  min-height: 44px;
  border-radius: var(--guestRadPill);
  border: 1px solid rgba(118,128,182,.14);
  background: rgba(22,24,48,.22);
  color: rgba(241,245,249,.92);
  font-weight: 800;
  letter-spacing: .04em;
}
.login-page .slotsMoreBtnNew:hover{
  background: rgba(22,26,48,.30);
  border-color: rgba(118,128,182,.22);
}

/* ====== Login modal overlay (page-local, flex-centered like premium modal) ====== */
.loginOverlay{
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) 20px max(24px, env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;
  overflow: visible;
}
.login-modal-open .loginOverlay{
  display: flex;
}
/* Fixed fullscreen: padding on .loginOverlay must not leave uncovered strips (absolute inset follows padding box). */
.loginOverlayBackdrop{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100vh;
  min-height: 100dvh;
  min-height: 100svh;
  min-height: 100lvh;
  min-height: -webkit-fill-available;
  z-index: 0;
  background: rgba(4, 7, 18, 0.79);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  cursor: pointer;
  transform: translateZ(0);
}
.loginModal,
.login-page .loginModal.loginModal--guestShell{
  position: relative;
  z-index: 2;
  left: auto;
  top: auto;
  transform: none;
  width: min(600px, calc(100vw - 40px));
  max-height: min(90vh, 740px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 22px;
  border: 1px solid rgba(118,128,182,.2);
  background:
    radial-gradient(120% 80% at 50% -20%, rgba(99,102,241,.12) 0%, transparent 55%),
    linear-gradient(168deg, rgba(32,36,64,.99) 0%, rgba(18,22,44,.98) 42%, rgba(8,11,26,.995) 100%);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.045) inset,
    0 28px 72px rgba(0,0,0,.58),
    0 10px 32px rgba(0,0,0,.38);
}
.loginModalCloseBtn{
  position: absolute;
  right: 16px;
  top: 16px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(118,128,182,.16);
  background: rgba(18,22,42,.55);
  color: rgba(241,245,249,.92);
  cursor: pointer;
  z-index: 2;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}
.loginModalCloseBtn:hover{
  background: rgba(32,38,68,.82);
  border-color: rgba(148,163,184,.28);
  color: #fff;
}
.loginModalBody{
  padding: 30px 32px 32px;
}
.loginModalTitle{
  margin: 0 0 10px;
  padding-right: 48px;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -.01em;
  color: rgba(250,252,255,.99);
  line-height: 1.22;
}
.loginModalSub{
  margin: 0 0 6px;
  color: rgba(214,222,236,.92);
  font-size: 14px;
  line-height: 1.45;
  font-weight: 500;
}
.loginModalContext{
  margin: 0 0 24px;
  color: rgba(148,163,184,.88);
  font-size: 13px;
  line-height: 1.55;
}
.login-page .loginModalForm{
  display: flex;
  flex-direction: column;
  gap: 0;
}
.loginModalRowAge{
  padding: 0;
  margin: 0 0 20px;
  border-radius: 12px;
  border: 1px solid rgba(104,112,162,.22);
  border-left: 3px solid rgba(138,150,200,.42);
  background: linear-gradient(95deg, rgba(20,24,48,.72) 0%, rgba(10,12,28,.68) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 6px 20px rgba(0,0,0,.22);
}
.loginModalCheck{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-height: 52px;
  padding: 14px 18px;
  cursor: pointer;
  user-select: none;
  margin: 0;
}
.loginModalCheckInput{ display: none; }
.loginModalCheckBox{
  width: 22px;
  height: 22px;
  border-radius: 5px;
  border: 1px solid rgba(148,163,184,.32);
  background: linear-gradient(180deg, rgba(18,22,44,.9) 0%, rgba(8,10,24,.92) 100%);
  box-shadow: inset 0 1px 2px rgba(0,0,0,.35);
  position: relative;
  flex-shrink: 0;
}
.loginModalCheckInput:checked + .loginModalCheckBox{
  background: linear-gradient(145deg, rgba(38,44,82,.98) 0%, rgba(22,26,52,.99) 100%);
  border-color: rgba(176,186,228,.38);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.1),
    0 0 0 1px rgba(255,255,255,.04);
}
.loginModalCheckInput:checked + .loginModalCheckBox::after{
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border-right: 2px solid rgba(252,253,255,.98);
  border-bottom: 2px solid rgba(252,253,255,.98);
  transform: rotate(42deg);
}
.loginModalCheckLabel{
  color: rgba(236,240,250,.97);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: .02em;
}
.loginModalButtons{
  display: flex;
  flex-direction: column;
  gap: 11px;
}
/* Modal CTAs — FALCONE / guest navy palette (VK slightly indigo, TG cooler slate) */
.login-page .loginModal .loginModalBtnVk,
.login-page .loginModal a.loginModalBtnVk{
  width: 100% !important;
  min-height: 50px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 11px !important;
  padding: 13px 24px !important;
  border-radius: 15px !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  letter-spacing: .025em !important;
  border: 1px solid rgba(118,128,182,.22) !important;
  background: linear-gradient(180deg, rgba(34,38,72,.96) 0%, rgba(22,26,48,.98) 45%, rgba(14,16,36,1) 100%) !important;
  color: rgba(248,250,252,.98) !important;
  box-shadow:
    0 3px 14px rgba(0,0,0,.3),
    inset 0 1px 0 rgba(255,255,255,.055) !important;
  text-decoration: none !important;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease !important;
}
.login-page .loginModal .loginModalBtnVk:hover{
  filter: none;
  border-color: rgba(132,142,198,.34) !important;
  box-shadow:
    0 6px 22px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.075) !important;
  transform: translateY(-1px);
}
.login-page .loginModal a.loginModalBtnTg{
  border-color: rgba(108,118,160,.22) !important;
  background: linear-gradient(180deg, rgba(26,32,58,.96) 0%, rgba(18,24,46,.98) 50%, rgba(12,16,34,1) 100%) !important;
  box-shadow:
    0 3px 14px rgba(0,0,0,.3),
    inset 0 1px 0 rgba(255,255,255,.045) !important;
}
.login-page .loginModal a.loginModalBtnTg:hover{
  border-color: rgba(128,138,182,.34) !important;
  box-shadow:
    0 6px 22px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.065) !important;
  transform: translateY(-1px);
}
.loginModalHelp{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(118,128,182,.1);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .02em;
  color: rgba(148,163,184,.72) !important;
  opacity: .95;
}
.loginModalHelp:hover{
  color: rgba(186,198,214,.9) !important;
  text-decoration: none !important;
}
.loginModalHelp .fa-question-circle{
  opacity: .85;
  font-size: 13px;
}

@media (max-height: 560px){
  .loginModal,
  .login-page .loginModal.loginModal--guestShell{
    max-height: 92vh;
  }
  .loginModalBody{
    padding: 24px 24px 26px;
  }
}

/* === uiToast (extracted from design-pages — guest does not load that file) === */
#uiToastStack{
  position: fixed;
  left: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 12000;
  pointer-events: none;
}
#uiToastStack .uiToast{
  pointer-events: auto;
}
.uiToast{
  min-width: 260px;
  max-width: 360px;
  padding: 14px 16px;
  border-radius: 14px;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  cursor: pointer;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 12px 32px rgba(0,0,0,.45);
  animation: guestToastIn .22s ease;
}
.uiToast--success{ border-left: 4px solid #22c55e; }
.uiToast--error{ border-left: 4px solid #ef4444; }
.uiToast--cancel{ border-left: 4px solid #94a3b8; }
.uiToast--system{ border-left: 4px solid #ea580c; }
.uiToast--hide{
  opacity: 0;
  transform: translateX(-8px);
  transition: all .2s ease;
}
.uiToastText{
  display: block;
}
@keyframes guestToastIn{
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* scroll lock when panel/modal open */
.no-scroll,
.login-modal-open{
  overflow: hidden;
}
html.no-scroll{
  overflow: hidden !important;
  overscroll-behavior: none;
  height: 100%;
}
/* /login: freeze document scroll so page content cannot peek under fixed overlay (bottom strip on mobile) */
body.login-page.login-modal-open{
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

@media (max-width: 992px){
  .login-page .slotsToolbarNew{ grid-template-columns: 1fr; }
  .login-page .slotsToolbarProviderClusterNew{ justify-self: start; }
  .login-page .slotsProviderRibbonOuterNew{ max-width: 100%; }
  .slotsProviderPanelGridNew{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 576px){
  .login-page .loginLobbyContent{ padding: 0 12px 18px; }
  .login-page .slotsSectionNew.slotsSectionGuestNew{ padding: 12px; }
  .login-page .slotsGridNew{ gap: 10px; }
  .slotsProviderPanelSheetNew{ top: calc(var(--guestTopbarH) + 12px); }
  #uiToastStack{
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
  }
  .uiToast{
    min-width: 0;
    max-width: none;
    width: 100%;
  }
}

