/* Keep the signup actions readable over the art, at every aspect ratio. */
.guest-welcome {
  position:relative;
  isolation:isolate;
  display:grid;
  align-items:center;
  min-height:clamp(270px,25vw,332px);
  overflow:hidden;
  width:100%;
  margin:0;
  padding:0;
  border:1px solid #293750;
  border-radius:12px;
  background:#091426;
  color:#f0f3fa;
}
.guest-welcome[hidden] { display:none!important; }
body:has(#games-hub:not([hidden]):is(:not([data-game-view="catalog"]),:not([data-lobby-section="home"]))) .guest-welcome { display:none!important; }
.guest-welcome-art {
  position:absolute;
  inset:0 0 0 auto;
  z-index:-2;
  width:69%;
  height:100%;
  object-fit:cover;
  object-position:right 24%;
  pointer-events:none;
}
.guest-welcome::after {
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  background:linear-gradient(90deg,#091426 19%,#091426f5 34%,#0914267a 51%,#09142600 73%);
  pointer-events:none;
}
.guest-welcome-content {
  position:relative;
  width:min(48%,530px);
  margin-inline-end:auto;
  padding:clamp(24px,4vw,54px);
}
.guest-welcome h1 {
  margin:0 0 24px;
  color:#f0f3fa;
  font-size:clamp(27px,3.2vw,46px);
  line-height:1.06;
  font-weight:650;
  letter-spacing:-.035em;
  text-wrap:balance;
}
.guest-welcome-register,.guest-welcome-social a {
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  min-height:44px;
  padding:9px 12px;
  border:1px solid #42516b;
  border-radius:7px;
  color:#f3f6ff;
  text-decoration:none;
  font-size:14px;
  line-height:1.25;
  font-weight:650;
}
.guest-welcome-register {
  background:#365ac1;
  border-color:#4c6bc7;
}
.guest-welcome-register:hover { background:#4065cf; }
.guest-welcome-social {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin-top:8px;
}
.guest-welcome-social a { gap:8px; background:#101c31; }
.guest-welcome-social a:hover { background:#1a2841; border-color:#6d84ac; }
.guest-welcome-social svg { width:17px; height:17px; flex:none; }
.guest-welcome-social a[href*="telegram"] svg { color:#76bded; }
.guest-welcome a:focus-visible { outline:2px solid #a5c6ff; outline-offset:3px; }
.guest-welcome:dir(rtl) .guest-welcome-art { inset:0 auto 0 0; transform:scaleX(-1); }
.guest-welcome:dir(rtl)::after { transform:scaleX(-1); }
@media(min-width:601px) and (max-width:900px) {
  .guest-welcome-content { width:57%; padding:24px; }
}
@media(max-width:600px) {
  .guest-welcome { min-height:0; }
  .guest-welcome-art {
    width:100%;
    height:176px;
    object-position:right 27%;
  }
  .guest-welcome::after {
    background:linear-gradient(0deg,#091426 calc(100% - 177px),#0914268c calc(100% - 133px),transparent calc(100% - 85px));
  }
  .guest-welcome-content { width:100%; padding:145px 16px 17px; }
  .guest-welcome h1 { font-size:clamp(23px,6.6vw,32px); margin-bottom:14px; }
}
