/* Public Telegram entry lobby. Authenticated hub styles remain in index.html. */
@keyframes cpAuthBearIdle {
  0%, 100% { transform: translate3d(var(--lobby-cast-x), var(--lobby-cast-y), 0); }
  50% { transform: translate3d(var(--lobby-cast-x), calc(var(--lobby-cast-y) - 4px), 0); }
}

@keyframes cpAuthRunnerIdle {
  0%, 100% { transform: translateX(-50%) translate3d(var(--lobby-cast-x), var(--lobby-cast-y), 0); }
  50% { transform: translateX(-50%) translate3d(var(--lobby-cast-x), calc(var(--lobby-cast-y) - 5px), 0); }
}

@keyframes cpAuthVersusPulse {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 0 0 5px rgba(2, 7, 16, 0.82), 0 0 26px rgba(240, 185, 11, 0.24); }
  50% { transform: translateY(-3px) scale(1.04); box-shadow: 0 0 0 5px rgba(2, 7, 16, 0.82), 0 0 36px rgba(240, 185, 11, 0.38); }
}

@keyframes cpAuthPanelIn {
  from { opacity: 0; transform: translateY(calc(-50% + 14px)); }
  to { opacity: 1; transform: translateY(-50%); }
}

@keyframes cpAuthButtonSheen {
  0%, 50% { transform: translateX(-150%) skewX(-18deg); }
  82%, 100% { transform: translateX(180%) skewX(-18deg); }
}

@keyframes cpAuthMarketTicker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes cpAuthFogDrift {
  0%, 100% { opacity: 0.34; transform: translate3d(-2%, 0, 0); }
  50% { opacity: 0.55; transform: translate3d(2%, -1%, 0); }
}

@keyframes cpAuthBubbleFromLeft {
  from { opacity: 0; transform: translateX(-18px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes cpAuthBubbleFromRight {
  from { opacity: 0; transform: translateX(18px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes cpAuthBearThreat {
  0%, 100% { transform: translate3d(var(--lobby-cast-x), var(--lobby-cast-y), 0) scale(1); }
  50% { transform: translate3d(var(--lobby-cast-x), calc(var(--lobby-cast-y) - 4px), 0) scale(1.018); }
}

@keyframes cpAuthRunnerGlow {
  0%, 100% { filter: drop-shadow(0 0 30px rgba(240, 185, 11, 0.62)) drop-shadow(0 24px 32px rgba(0, 0, 0, 0.78)); }
  50% { filter: drop-shadow(0 0 42px rgba(240, 185, 11, 0.82)) drop-shadow(0 24px 32px rgba(0, 0, 0, 0.78)); }
}

.auth-lobby-nav,
.auth-versus-badge {
  display: none;
}

#screen-login:not(.in-hub) {
  position: fixed;
  inset: 0;
  display: block;
  overflow: hidden;
  padding: 0;
  background: linear-gradient(180deg, #01040b, #020711 62%, #01040a);
  isolation: isolate;
}

#screen-login:not(.in-hub)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(1, 4, 11, 0.24), transparent 34% 70%, rgba(1, 4, 11, 0.2));
}

#screen-login:not(.in-hub)::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 30;
  pointer-events: none;
  opacity: 0.1;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 4px);
  mix-blend-mode: soft-light;
  filter: none;
  animation: none;
}

#screen-login:not(.in-hub) .auth-lobby-nav {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 40;
  display: flex;
  align-items: center;
  width: min(1340px, calc(100% - 36px));
  min-height: 70px;
  padding: 10px 86px 10px 12px;
  border: 1px solid rgba(133, 199, 235, 0.2);
  border-radius: 18px;
  background: rgba(3, 9, 20, 0.82);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
  transform: translateX(-50%);
}

.auth-lobby-back {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(126, 169, 211, 0.3);
  border-radius: 10px;
  background: rgba(5, 13, 28, 0.8);
  color: #d9edff;
  font-family: "Share Tech Mono", monospace;
  font-size: 22px;
  line-height: 1;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease;
}

.auth-lobby-back:hover {
  transform: translateX(-2px);
  border-color: rgba(127, 216, 255, 0.68);
  color: #7fd8ff;
}

.auth-lobby-back:focus-visible,
#screen-login:not(.in-hub) .auth-login-button:focus-visible {
  outline: 2px solid #7fd8ff;
  outline-offset: 3px;
}

.auth-lobby-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  margin-left: 10px;
}

.auth-lobby-mark {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 234, 157, 0.72);
  border-radius: 10px;
  background: linear-gradient(145deg, #ffdf63, #f0b90b 60%, #c87a00);
  color: #090702;
  font-family: "Orbitron", sans-serif;
  font-size: 23px;
  font-weight: 900;
  box-shadow: 0 0 26px rgba(240, 185, 11, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.auth-lobby-brand-name {
  color: #ffe08a;
  font-family: "Orbitron", sans-serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 2px;
  white-space: nowrap;
}

.auth-lobby-brand-sub {
  margin-top: 3px;
  color: #84a8c8;
  font-family: "Share Tech Mono", monospace;
  font-size: 9px;
  letter-spacing: 2px;
  white-space: nowrap;
}

#screen-login:not(.in-hub) .login-inner {
  position: absolute;
  top: 94px;
  bottom: 18px;
  left: 50%;
  display: block;
  width: min(1820px, calc(100% - 36px));
  height: auto;
  max-width: none;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(126, 169, 211, 0.16);
  border-radius: 26px;
  background: #030817;
  box-shadow: 0 42px 110px rgba(0, 0, 0, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.045);
  transform: translateX(-50%);
}

#screen-login:not(.in-hub) .login-inner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 12;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, #f0b90b 13% 77%, transparent);
  box-shadow: 0 0 24px rgba(240, 185, 11, 0.34);
}

#screen-login:not(.in-hub) .login-inner::before {
  content: "BTC -4.8%  ETH -3.1%  SOL -5.6%  LIQUIDATIONS RISING  FUD INDEX HIGH  RED CANDLES DETECTED  ";
  position: absolute;
  left: 0;
  right: auto;
  bottom: 11%;
  z-index: 3;
  width: 200%;
  height: 32px;
  padding-top: 9px;
  border-top: 1px solid rgba(255, 51, 72, 0.13);
  border-bottom: 1px solid rgba(240, 185, 11, 0.1);
  background: linear-gradient(90deg, rgba(255, 51, 72, 0.06), rgba(240, 185, 11, 0.035), rgba(34, 187, 255, 0.035));
  color: rgba(255, 132, 142, 0.42);
  font-family: "Share Tech Mono", monospace;
  font-size: 10px;
  letter-spacing: 2px;
  white-space: pre;
  pointer-events: none;
  animation: cpAuthMarketTicker 28s linear infinite;
}

#screen-login:not(.in-hub) .logo-hero {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  text-align: left;
}

#screen-login:not(.in-hub) .logo-hero::before {
  content: "";
  position: absolute;
  inset: auto -8% 0 -8%;
  z-index: 5;
  height: 44%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 22% 70%, rgba(255, 51, 72, 0.13), transparent 55%),
    radial-gradient(ellipse at 58% 64%, rgba(240, 185, 11, 0.13), transparent 56%),
    linear-gradient(0deg, rgba(1, 4, 11, 0.72), transparent 70%);
  filter: blur(14px);
  animation: cpAuthFogDrift 9s ease-in-out infinite;
}

#screen-login:not(.in-hub) .logo-hero::after {
  content: "";
  position: absolute;
  left: 16%;
  bottom: 27%;
  z-index: 4;
  width: 38%;
  height: 15%;
  pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(240, 185, 11, 0.16), rgba(34, 187, 255, 0.07) 44%, transparent 72%);
  filter: blur(16px);
}

#screen-login:not(.in-hub) .kit-login-stage {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #01040b;
  box-shadow: none;
  transform: none !important;
  animation: none;
}

#screen-login:not(.in-hub) .kit-login-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block !important;
  opacity: 0.15;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 5px);
  mix-blend-mode: soft-light;
}

#screen-login:not(.in-hub) .kit-login-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block !important;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(1, 4, 12, 0.3), transparent 34% 68%, rgba(1, 4, 12, 0.1)),
    linear-gradient(0deg, rgba(1, 4, 12, 0.38), transparent 32%);
  filter: none;
  animation: none;
}

#screen-login:not(.in-hub) #login-stage-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: saturate(1.1) contrast(1.04);
  transform: translate3d(var(--lobby-bg-x), var(--lobby-bg-y), 0) scale(1.01);
  transform-origin: center;
  transition: transform 400ms ease;
}

#screen-login:not(.in-hub) .kit-stage-hud,
#screen-login:not(.in-hub) .kit-stage-chips,
#screen-login:not(.in-hub) #skin-name-badge,
#screen-login:not(.in-hub) .vs-badge,
#screen-login:not(.in-hub) .vs-bolt,
#screen-login:not(.in-hub) .lobby-brand-lockup,
#screen-login:not(.in-hub) #skin-download-btn {
  display: none !important;
}

#screen-login:not(.in-hub) .vs-cluster {
  position: absolute;
  z-index: 6;
  left: 9.5%;
  bottom: 27%;
  display: block;
  width: clamp(290px, 20vw, 390px);
  height: auto;
  opacity: 1;
  pointer-events: none;
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.78)) drop-shadow(0 0 28px rgba(255, 51, 72, 0.18));
  animation: cpAuthBearThreat 4.8s ease-in-out infinite;
}

#screen-login:not(.in-hub) .vs-cluster::after {
  content: "";
  position: absolute;
  right: 12%;
  bottom: 4%;
  left: 14%;
  z-index: -1;
  height: 9%;
  border-radius: 50%;
  background: rgba(1, 4, 10, 0.76);
  filter: blur(7px);
}

#screen-login:not(.in-hub) .vs-cluster canvas {
  display: block;
  width: 100%;
  height: auto;
}

#screen-login:not(.in-hub) .kit-runner-slot {
  position: absolute;
  z-index: 7;
  left: 50%;
  bottom: max(4px, calc(27% - 255px));
  width: clamp(390px, 26vw, 500px);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 0 30px rgba(240, 185, 11, 0.62)) drop-shadow(0 24px 32px rgba(0, 0, 0, 0.78));
  animation: cpAuthRunnerIdle 4.2s ease-in-out infinite, cpAuthRunnerGlow 3.4s ease-in-out infinite;
}

#screen-login:not(.in-hub) .kit-runner-slot::after {
  content: "";
  position: absolute;
  top: 53%;
  right: 31%;
  bottom: auto;
  left: 31%;
  z-index: -1;
  height: 7%;
  border-radius: 50%;
  background: rgba(1, 4, 10, 0.78);
  box-shadow: 0 0 28px rgba(240, 185, 11, 0.16);
  filter: blur(7px);
}

#screen-login:not(.in-hub) .kit-runner-slot #hero-char-canvas {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

#screen-login:not(.in-hub) .auth-versus-badge {
  position: absolute;
  left: 37.4%;
  bottom: calc(27% + 126px);
  z-index: 9;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid rgba(255, 235, 165, 0.8);
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe06c, #f0b90b 58%, #b96c00);
  color: #130d02;
  font-family: "Orbitron", sans-serif;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 1px;
  pointer-events: none;
  animation: cpAuthVersusPulse 3.2s ease-in-out infinite;
}

#screen-login:not(.in-hub) .auth-dialogue {
  position: absolute;
  z-index: 9;
  left: 28%;
  top: 24%;
  width: min(430px, 25vw);
  pointer-events: none;
  opacity: 0;
  transition: opacity 320ms ease;
}

#screen-login:not(.in-hub) .auth-dialogue.is-visible {
  opacity: 1;
}

#screen-login:not(.in-hub) .auth-speech {
  position: relative;
  max-width: 78%;
  padding: 12px 14px 13px;
  border: 1px solid rgba(126, 169, 211, 0.24);
  border-radius: 12px;
  background: rgba(4, 12, 27, 0.82);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 320ms ease, border-color 220ms ease;
}

#screen-login:not(.in-hub) .auth-speech::after {
  content: "";
  position: absolute;
  top: 18px;
  width: 13px;
  height: 13px;
  border: inherit;
  background: inherit;
  transform: rotate(45deg);
}

#screen-login:not(.in-hub) .auth-speech span {
  display: block;
  color: #8edcff;
  font-family: "Share Tech Mono", monospace;
  font-size: 8px;
  letter-spacing: 2px;
}

#screen-login:not(.in-hub) .auth-speech p {
  margin: 6px 0 0;
  color: #eef6ff;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(13px, 0.92vw, 16px);
  font-weight: 800;
  line-height: 1.32;
  letter-spacing: 0.4px;
}

#screen-login:not(.in-hub) .auth-speech-bear {
  border-color: rgba(255, 51, 72, 0.28);
  margin-right: auto;
  transform: translateX(0);
}

#screen-login:not(.in-hub) .auth-speech-bear::after {
  left: -7px;
  border-top: 0;
  border-right: 0;
}

#screen-login:not(.in-hub) .auth-speech-bear span {
  color: #ff7b89;
}

#screen-login:not(.in-hub) .auth-speech-hero {
  border-color: rgba(240, 185, 11, 0.34);
  margin-left: auto;
  transform: translateX(16%);
}

#screen-login:not(.in-hub) .auth-speech-hero::after {
  right: -7px;
  border-bottom: 0;
  border-left: 0;
}

#screen-login:not(.in-hub) .auth-speech-hero span {
  color: #ffe08a;
}

#screen-login:not(.in-hub) #auth-forms {
  position: absolute;
  top: 52%;
  right: max(28px, calc((100vw - 1820px) / 2 + 46px));
  z-index: 10;
  width: 450px;
  min-width: 0;
  max-height: none;
  overflow: hidden;
  margin: 0;
  padding: 31px 30px 28px;
  border: 1px solid rgba(143, 202, 238, 0.28);
  border-top-color: rgba(255, 218, 99, 0.86);
  border-radius: 8px;
  background: linear-gradient(148deg, rgba(10, 23, 45, 0.94), rgba(3, 9, 21, 0.96) 62%, rgba(2, 6, 15, 0.98));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.58), 0 0 54px rgba(34, 187, 255, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(18px) saturate(1.12);
  -webkit-backdrop-filter: blur(18px) saturate(1.12);
  transform: translateY(-50%);
  transition: border-color 180ms ease, box-shadow 180ms ease;
  animation: cpAuthPanelIn 500ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

#screen-login:not(.in-hub) #auth-forms::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block !important;
  width: 38%;
  height: 3px;
  background: linear-gradient(90deg, #ffe189, #f0b90b, transparent);
  box-shadow: 0 0 24px rgba(240, 185, 11, 0.4);
}

#screen-login:not(.in-hub) #auth-forms::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.42;
  background: linear-gradient(135deg, transparent 0 70%, rgba(34, 187, 255, 0.055) 70% 100%);
  animation: none;
}

#screen-login:not(.in-hub) #auth-forms:hover {
  border-color: rgba(158, 218, 249, 0.42);
  border-top-color: #ffe189;
  box-shadow: 0 38px 98px rgba(0, 0, 0, 0.64), 0 0 68px rgba(34, 187, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.095);
}

#screen-login:not(.in-hub) .auth-login-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  text-align: left;
  animation: none;
}

#screen-login:not(.in-hub) .auth-login-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 13px;
  color: #8adfff;
  font-family: "Share Tech Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.2;
}

#screen-login:not(.in-hub) .auth-login-kicker span {
  width: 7px;
  height: 7px;
  background: #f0b90b;
  box-shadow: 0 0 14px rgba(240, 185, 11, 0.7);
  transform: rotate(45deg);
}

#screen-login:not(.in-hub) .auth-login-copy h1 {
  margin: 0;
  color: #fff0b9;
  font-family: "Orbitron", sans-serif;
  font-size: 31px;
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 1px;
}

#screen-login:not(.in-hub) .auth-login-copy p {
  display: grid;
  gap: 7px;
  margin: 13px 0 22px;
  color: #a9bfd5;
  font-family: "Space Grotesk", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
}

#screen-login:not(.in-hub) .auth-login-copy p span:first-child {
  color: #e7f2ff;
}

#screen-login:not(.in-hub) .auth-login-copy p span:last-child {
  color: #ffe08a;
}

#screen-login:not(.in-hub) .auth-login-button {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  width: 100%;
  min-height: 64px;
  overflow: hidden;
  margin: 0;
  padding: 0 16px 0 0;
  border: 1px solid rgba(255, 239, 181, 0.9);
  border-radius: 7px;
  background: linear-gradient(145deg, #ffe174, #f0b90b 58%, #d18300);
  color: #0b0801;
  font-family: "Orbitron", sans-serif;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  box-shadow: 0 18px 44px rgba(240, 185, 11, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.62), inset 0 -3px 0 rgba(95, 53, 0, 0.18);
  transition: transform 170ms ease, filter 170ms ease, box-shadow 170ms ease;
  animation: none;
}

#screen-login:not(.in-hub) .auth-login-button::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 34%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: cpAuthButtonSheen 5.8s ease-in-out infinite;
}

#screen-login:not(.in-hub) .auth-login-button:hover:not(:disabled) {
  transform: translateY(-3px);
  filter: brightness(1.05) saturate(1.04);
  box-shadow: 0 23px 54px rgba(240, 185, 11, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.68), inset 0 -3px 0 rgba(95, 53, 0, 0.18);
}

#screen-login:not(.in-hub) .auth-login-button:active:not(:disabled) {
  transform: translateY(0) scale(0.994);
}

#screen-login:not(.in-hub) .auth-login-button:disabled {
  cursor: wait;
  filter: saturate(0.72);
  opacity: 0.86;
}

#screen-login:not(.in-hub) .auth-login-button-icon {
  display: grid;
  place-items: center;
  align-self: stretch;
  margin-right: 14px;
  border-right: 1px solid rgba(51, 30, 1, 0.2);
  background: rgba(72, 42, 0, 0.08);
  color: #271700;
  font-size: 18px;
  line-height: 1;
}

#screen-login:not(.in-hub) .auth-login-button-label {
  min-width: 0;
  text-align: center;
  white-space: normal;
}

#screen-login:not(.in-hub) .auth-login-button.is-busy .auth-login-button-icon {
  animation: signalPulse 900ms ease-in-out infinite;
}

#screen-login:not(.in-hub) .auth-login-trust {
  display: flex;
  align-items: center;
  gap: 11px;
  width: 100%;
  margin: 14px 0 0;
  padding: 10px 12px;
  border: 1px solid rgba(0, 228, 176, 0.34);
  border-left: 3px solid #00e4b0;
  border-radius: 6px;
  background: linear-gradient(90deg, rgba(0, 228, 176, 0.09), rgba(3, 24, 31, 0.38));
  color: #9cebd6;
  font-family: "Orbitron", sans-serif;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 1px;
}

#screen-login:not(.in-hub) .auth-login-trust-icon {
  display: grid;
  place-items: center;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  border: 1px solid rgba(116, 255, 220, 0.52);
  border-radius: 4px;
  background: rgba(0, 228, 176, 0.1);
  color: #6bffda;
  font-family: "Share Tech Mono", monospace;
  font-size: 16px;
}

#screen-login:not(.in-hub) .auth-login-status {
  display: block;
  min-height: 0;
  margin-top: 11px;
  padding: 9px 11px;
  border: 1px solid rgba(126, 169, 211, 0.22);
  border-left: 3px solid #7fcfff;
  border-radius: 4px;
  background: rgba(2, 8, 18, 0.62);
  color: #a8c7df;
  font-family: "Share Tech Mono", monospace;
  font-size: 10px;
  line-height: 1.45;
  letter-spacing: 0;
}

#screen-login:not(.in-hub) .auth-login-status:empty {
  display: none !important;
}

#screen-login:not(.in-hub) .auth-login-status[data-state="error"] {
  border-color: rgba(255, 51, 72, 0.36);
  border-left-color: #ff3348;
  background: rgba(74, 6, 18, 0.34);
  color: #ff8592;
}

#screen-login:not(.in-hub) .auth-login-status[data-state="waiting"] {
  border-left-color: #22bbff;
  color: #8bdcff;
}

#screen-login:not(.in-hub) .auth-login-status[data-state="success"] {
  border-color: rgba(0, 228, 176, 0.34);
  border-left-color: #00e4b0;
  color: #7bffdc;
}

body.is-login #sound-toggle {
  top: 19px !important;
  right: max(18px, calc((100vw - 1340px) / 2 + 14px)) !important;
  left: auto !important;
  display: grid !important;
  place-items: center;
  width: 46px !important;
  min-width: 46px;
  height: 46px !important;
  padding: 0 !important;
  border: 1px solid rgba(145, 202, 236, 0.3);
  border-radius: 50% !important;
  background: rgba(5, 13, 28, 0.82);
  color: #ffe177;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

body.is-login #sound-toggle .sound-tag {
  display: none !important;
}

body.is-login #sound-toggle .sound-icon {
  order: initial;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #d8f7ff;
  font-size: 16px;
}

body.is-login #sound-toggle:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 220, 105, 0.62);
  box-shadow: 0 17px 38px rgba(0, 0, 0, 0.34), 0 0 20px rgba(240, 185, 11, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.is-login #holo-field-canvas {
  display: none !important;
}

@media (max-width: 1450px) {
  #screen-login:not(.in-hub) .auth-lobby-nav { width: calc(100% - 28px); }
  #screen-login:not(.in-hub) .login-inner { width: calc(100% - 28px); }
  #screen-login:not(.in-hub) .vs-cluster { left: 8%; bottom: 28%; width: 300px; }
  #screen-login:not(.in-hub) .kit-runner-slot { left: 49%; bottom: max(4px, calc(28% - 224px)); width: 430px; }
  #screen-login:not(.in-hub) .auth-versus-badge { left: 35.5%; bottom: calc(28% + 106px); width: 68px; height: 68px; font-size: 17px; }
  #screen-login:not(.in-hub) .auth-dialogue { left: 25%; top: 23%; width: 390px; }
  #screen-login:not(.in-hub) #auth-forms { right: 3.5%; width: 390px; padding: 25px; }
  #screen-login:not(.in-hub) .auth-login-copy h1 { font-size: 26px; }
  body.is-login #sound-toggle { right: 26px !important; }
}

@media (max-width: 1100px) {
  #screen-login:not(.in-hub) .login-inner { top: 86px; bottom: 14px; }
  #screen-login:not(.in-hub) .vs-cluster { left: 4%; bottom: 31%; width: 240px; }
  #screen-login:not(.in-hub) .kit-runner-slot { left: 43%; bottom: max(4px, calc(31% - 181px)); width: 340px; }
  #screen-login:not(.in-hub) .auth-versus-badge { left: 27.6%; bottom: calc(31% + 88px); width: 58px; height: 58px; font-size: 15px; }
  #screen-login:not(.in-hub) .auth-dialogue { left: 20%; top: 19%; width: 350px; }
  #screen-login:not(.in-hub) #auth-forms { right: 22px; width: 360px; padding: 23px; }
  #screen-login:not(.in-hub) .auth-login-copy h1 { font-size: 24px; }
}

@media (max-width: 900px) {
  #screen-login:not(.in-hub) .auth-lobby-nav {
    top: 6px;
    width: calc(100% - 20px);
    min-height: 60px;
    padding: 8px 68px 8px 9px;
    border-radius: 14px;
  }

  .auth-lobby-back { flex-basis: 38px; width: 38px; height: 38px; font-size: 20px; }
  .auth-lobby-brand { gap: 9px; margin-left: 8px; }
  .auth-lobby-mark { flex-basis: 38px; width: 38px; height: 38px; font-size: 20px; }
  .auth-lobby-brand-name { font-size: 12px; letter-spacing: 1px; }
  .auth-lobby-brand-sub { display: none; }

  #screen-login:not(.in-hub) .login-inner {
    top: 76px;
    right: auto;
    bottom: 10px;
    width: calc(100% - 20px);
    border-radius: 18px;
  }

  #screen-login:not(.in-hub) .logo-hero::after { left: 2%; bottom: 31%; width: 72%; }
  #screen-login:not(.in-hub) .vs-cluster { left: 5%; bottom: 39%; width: 180px; }
  #screen-login:not(.in-hub) .kit-runner-slot { left: 63%; bottom: max(4px, calc(39% - 162px)); width: 292px; }
  #screen-login:not(.in-hub) .auth-versus-badge { left: 43%; bottom: calc(39% + 72px); width: 48px; height: 48px; font-size: 12px; }
  #screen-login:not(.in-hub) .auth-dialogue { left: 50%; top: 14%; width: min(410px, calc(100% - 40px)); transform: translateX(-50%); }
  #screen-login:not(.in-hub) .auth-speech { max-width: 72%; padding: 10px 12px; }
  #screen-login:not(.in-hub) .auth-speech p { font-size: 12px; }

  #screen-login:not(.in-hub) #auth-forms {
    top: auto;
    right: 18px;
    bottom: 16px;
    left: 18px;
    width: auto;
    padding: 20px;
    transform: none;
    animation: none;
  }

  #screen-login:not(.in-hub) .auth-login-kicker { margin-bottom: 9px; font-size: 9px; }
  #screen-login:not(.in-hub) .auth-login-copy h1 { font-size: 21px; }
  #screen-login:not(.in-hub) .auth-login-copy p { margin: 7px 0 13px; font-size: 12px; }
  #screen-login:not(.in-hub) .auth-login-button { min-height: 58px; font-size: 10px; }
  #screen-login:not(.in-hub) .auth-login-trust { margin-top: 11px; font-size: 9px; }
  body.is-login #sound-toggle { top: 13px !important; right: 17px !important; width: 46px !important; min-width: 46px; height: 46px !important; }
}

@media (max-width: 520px) {
  #screen-login:not(.in-hub) .auth-lobby-nav { width: calc(100% - 12px); padding-right: 58px; }
  .auth-lobby-brand { margin-left: 6px; }
  .auth-lobby-mark { display: none; }
  .auth-lobby-brand-name { font-size: 11px; }

  #screen-login:not(.in-hub) .login-inner {
    top: 72px;
    bottom: 8px;
    width: calc(100% - 12px);
    border-radius: 15px;
  }

  #screen-login:not(.in-hub) .kit-login-stage::before { opacity: 0.11; }
  #screen-login:not(.in-hub) .vs-cluster { left: 3%; bottom: 42%; width: 136px; }
  #screen-login:not(.in-hub) .kit-runner-slot { left: 68%; bottom: max(4px, calc(42% - 120px)); width: 220px; }
  #screen-login:not(.in-hub) .auth-versus-badge { left: 42%; bottom: calc(42% + 48px); width: 40px; height: 40px; font-size: 10px; }
  #screen-login:not(.in-hub) .auth-dialogue { top: 12%; }
  #screen-login:not(.in-hub) .auth-speech { max-width: 78%; padding: 8px 10px; border-radius: 10px; }
  #screen-login:not(.in-hub) .auth-speech span { font-size: 7px; letter-spacing: 1.5px; }
  #screen-login:not(.in-hub) .auth-speech p { margin-top: 4px; font-size: 11px; }

  #screen-login:not(.in-hub) #auth-forms {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 17px 16px 15px;
  }

  #screen-login:not(.in-hub) .auth-login-kicker { margin-bottom: 8px; font-size: 8px; letter-spacing: 1.5px; }
  #screen-login:not(.in-hub) .auth-login-copy h1 { font-size: 19px; }
  #screen-login:not(.in-hub) .auth-login-copy p { margin: 6px 0 11px; font-size: 12px; }
  #screen-login:not(.in-hub) .auth-login-button { grid-template-columns: 46px minmax(0, 1fr); min-height: 56px; padding-right: 9px; font-size: 9px; }
  #screen-login:not(.in-hub) .auth-login-button-icon { margin-right: 9px; font-size: 16px; }
  #screen-login:not(.in-hub) .auth-login-trust { margin-top: 9px; padding: 8px 9px; gap: 9px; font-size: 8px; }
  #screen-login:not(.in-hub) .auth-login-trust-icon { flex-basis: 25px; width: 25px; height: 25px; font-size: 14px; }
  #screen-login:not(.in-hub) .auth-login-status { margin-top: 8px; padding: 8px 9px; font-size: 9px; }
  body.is-login #sound-toggle { top: 13px !important; right: 13px !important; width: 42px !important; min-width: 42px; height: 42px !important; }
}

@media (max-height: 700px) and (min-width: 600px) and (max-width: 900px) {
  #screen-login:not(.in-hub) .login-inner { top: 72px; bottom: 8px; }
  #screen-login:not(.in-hub) .vs-cluster { left: 4%; bottom: 31%; width: 128px; }
  #screen-login:not(.in-hub) .kit-runner-slot { left: 38%; bottom: max(4px, calc(31% - 137px)); width: 250px; }
  #screen-login:not(.in-hub) .auth-versus-badge { left: 25%; bottom: calc(31% + 59px); width: 36px; height: 36px; }
  #screen-login:not(.in-hub) .auth-dialogue { top: 12%; left: 23%; width: 290px; transform: none; }
  #screen-login:not(.in-hub) #auth-forms { top: 52%; right: 14px; bottom: auto; left: auto; width: 330px; padding: 16px; transform: translateY(-50%); }
  #screen-login:not(.in-hub) .auth-login-copy p { display: none; }
  #screen-login:not(.in-hub) .auth-login-button { min-height: 52px; }
}

@media (max-height: 700px) and (max-width: 599px) {
  #screen-login:not(.in-hub) .vs-cluster { bottom: 37%; width: 108px; }
  #screen-login:not(.in-hub) .kit-runner-slot { bottom: max(4px, calc(37% - 106px)); width: 200px; }
  #screen-login:not(.in-hub) .auth-versus-badge { bottom: calc(37% + 38px); }
  #screen-login:not(.in-hub) .auth-dialogue { display: none; }
  #screen-login:not(.in-hub) #auth-forms { padding-top: 13px; padding-bottom: 12px; }
  #screen-login:not(.in-hub) .auth-login-copy p { display: none; }
  #screen-login:not(.in-hub) .auth-login-button { min-height: 50px; }
  #screen-login:not(.in-hub) .auth-login-trust { margin-top: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  #screen-login:not(.in-hub) .vs-cluster,
  #screen-login:not(.in-hub) .kit-runner-slot,
  #screen-login:not(.in-hub) .auth-versus-badge,
  #screen-login:not(.in-hub) .auth-dialogue,
  #screen-login:not(.in-hub) .login-inner::before,
  #screen-login:not(.in-hub) .logo-hero::before,
  #screen-login:not(.in-hub) #auth-forms,
  #screen-login:not(.in-hub) .auth-login-button::after {
    animation: none !important;
  }

  #screen-login:not(.in-hub) #login-stage-canvas,
  #screen-login:not(.in-hub) .auth-login-button,
  .auth-lobby-back {
    transition: none !important;
  }
}

/* Final cinematic lobby pass: boss-fight composition with compact premium chrome. */
#screen-login:not(.in-hub) {
  --lobby-bg-x: 0px;
  --lobby-bg-y: 0px;
  --lobby-cast-x: 0px;
  --lobby-cast-y: 0px;
  --lobby-ui-x: 0px;
  --lobby-ui-y: 0px;
  background:
    radial-gradient(circle at 54% 34%, rgba(240, 185, 11, 0.1), transparent 20%),
    radial-gradient(circle at 20% 62%, rgba(255, 51, 72, 0.08), transparent 25%),
    linear-gradient(180deg, #01040b, #020711 62%, #01040a);
}

#screen-login:not(.in-hub) .auth-lobby-nav {
  top: 8px;
  width: min(1580px, calc(100% - 36px));
  min-height: 78px;
  padding: 12px 96px 12px 14px;
  border-radius: 18px;
  border-color: rgba(126, 169, 211, 0.22);
  background: linear-gradient(145deg, rgba(4, 11, 24, 0.88), rgba(2, 7, 17, 0.8));
}

.auth-lobby-back,
.auth-lobby-mark {
  flex-basis: 50px;
  width: 50px;
  height: 50px;
}

.auth-lobby-back {
  border-radius: 12px;
  font-size: 24px;
}

.auth-lobby-mark {
  border-radius: 12px;
  font-size: 26px;
}

.auth-lobby-brand-name {
  font-size: 18px;
}

.auth-lobby-brand-sub {
  color: #82a3c2;
  font-size: 9px;
  letter-spacing: 2.6px;
}

#screen-login:not(.in-hub) .login-inner {
  top: 106px;
  bottom: 18px;
  width: min(1940px, calc(100% - 36px));
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(2, 7, 18, 0.18), rgba(2, 7, 18, 0.3)),
    #030817;
}

#screen-login:not(.in-hub) .login-inner::after {
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(240, 185, 11, 0.95) 16% 76%, transparent);
}

#screen-login:not(.in-hub) .kit-login-stage::after {
  background:
    radial-gradient(ellipse at 20% 65%, rgba(255, 51, 72, 0.12), transparent 26%),
    radial-gradient(ellipse at 52% 57%, rgba(240, 185, 11, 0.14), transparent 27%),
    radial-gradient(ellipse at 78% 50%, rgba(34, 187, 255, 0.08), transparent 30%),
    linear-gradient(90deg, rgba(1, 4, 12, 0.34), transparent 34% 68%, rgba(1, 4, 12, 0.14)),
    linear-gradient(0deg, rgba(1, 4, 12, 0.42), transparent 34%);
}

#screen-login:not(.in-hub) .logo-hero::before {
  height: 48%;
  background:
    radial-gradient(ellipse at 20% 70%, rgba(255, 51, 72, 0.16), transparent 58%),
    radial-gradient(ellipse at 51% 64%, rgba(240, 185, 11, 0.16), transparent 54%),
    radial-gradient(ellipse at 80% 57%, rgba(34, 187, 255, 0.08), transparent 54%),
    linear-gradient(0deg, rgba(1, 4, 11, 0.74), transparent 72%);
}

#screen-login:not(.in-hub) .vs-cluster {
  left: clamp(84px, 12.5vw, 245px);
  bottom: 24.5%;
  width: clamp(330px, 21vw, 470px);
  filter: drop-shadow(0 32px 42px rgba(0, 0, 0, 0.82)) drop-shadow(0 0 30px rgba(255, 51, 72, 0.22));
}

#screen-login:not(.in-hub) .kit-runner-slot {
  left: 51%;
  bottom: max(10px, calc(24.5% - 255px));
  width: clamp(390px, 24vw, 510px);
}

#screen-login:not(.in-hub) .auth-versus-badge {
  left: clamp(520px, 37.2vw, 790px);
  bottom: calc(24.5% + 128px);
  width: 86px;
  height: 86px;
  border-width: 2px;
  font-size: 21px;
  box-shadow: 0 0 0 7px rgba(2, 7, 16, 0.82), 0 0 42px rgba(240, 185, 11, 0.36);
}

#screen-login:not(.in-hub) .auth-dialogue {
  left: clamp(500px, 38vw, 820px);
  top: 25.5%;
  width: min(470px, 28vw);
}

#screen-login:not(.in-hub) .auth-speech {
  max-width: 94%;
  padding: 14px 17px 15px;
  border-radius: 14px;
  background: rgba(4, 12, 27, 0.88);
}

#screen-login:not(.in-hub) .auth-speech p {
  font-size: clamp(15px, 1vw, 18px);
}

#screen-login:not(.in-hub) .auth-speech-hero {
  transform: translateX(9%);
}

#screen-login:not(.in-hub) #auth-forms {
  top: 53.5%;
  right: max(42px, calc((100vw - 1940px) / 2 + 48px));
  width: clamp(430px, 26vw, 525px);
  padding: 36px 34px 32px;
  border-radius: 8px;
  border-color: rgba(143, 202, 238, 0.3);
  border-top-color: rgba(255, 222, 112, 0.95);
  background: linear-gradient(148deg, rgba(10, 24, 47, 0.95), rgba(3, 9, 21, 0.97) 62%, rgba(2, 6, 15, 0.99));
}

#screen-login:not(.in-hub) .auth-login-kicker {
  margin-bottom: 17px;
  font-size: 10px;
  letter-spacing: 3px;
}

#screen-login:not(.in-hub) .auth-login-copy h1 {
  font-size: clamp(30px, 2.1vw, 40px);
  line-height: 1.08;
}

#screen-login:not(.in-hub) .auth-login-copy p {
  gap: 8px;
  margin: 18px 0 26px;
  font-size: 15px;
}

#screen-login:not(.in-hub) .auth-login-button {
  min-height: 68px;
  grid-template-columns: 58px minmax(0, 1fr);
  border-radius: 8px;
  font-size: 12px;
  letter-spacing: 1.3px;
}

#screen-login:not(.in-hub) .auth-login-button-icon {
  margin-right: 16px;
  font-size: 20px;
}

body.is-login #sound-toggle {
  top: 20px !important;
  right: max(28px, calc((100vw - 1580px) / 2 + 20px)) !important;
  width: 54px !important;
  min-width: 54px;
  height: 54px !important;
  padding: 0 !important;
  border-radius: 50% !important;
}

body.is-login #sound-toggle .sound-tag {
  display: none !important;
}

body.is-login #sound-toggle .sound-icon {
  order: initial;
  width: 31px;
  height: 31px;
  min-width: 31px;
  border-radius: 50%;
}

@media (max-width: 1450px) {
  #screen-login:not(.in-hub) .vs-cluster { left: 7.5%; width: 310px; }
  #screen-login:not(.in-hub) .kit-runner-slot { left: 49%; width: 430px; }
  #screen-login:not(.in-hub) .auth-versus-badge { left: 35.4%; width: 72px; height: 72px; font-size: 18px; }
  #screen-login:not(.in-hub) .auth-dialogue { left: 25.5%; width: 420px; }
  #screen-login:not(.in-hub) #auth-forms { right: 3.4%; width: 410px; padding: 28px 27px 25px; }
}

@media (max-width: 1100px) {
  #screen-login:not(.in-hub) .login-inner { top: 92px; bottom: 14px; }
  #screen-login:not(.in-hub) .vs-cluster { left: 4%; bottom: 31%; width: 240px; }
  #screen-login:not(.in-hub) .kit-runner-slot { left: 43%; bottom: max(4px, calc(31% - 181px)); width: 340px; }
  #screen-login:not(.in-hub) .auth-versus-badge { left: 27.5%; bottom: calc(31% + 88px); width: 58px; height: 58px; font-size: 15px; }
  #screen-login:not(.in-hub) .auth-dialogue { left: 20%; top: 19%; width: 350px; }
  #screen-login:not(.in-hub) #auth-forms { right: 22px; width: 360px; padding: 23px; }
  #screen-login:not(.in-hub) .auth-login-copy h1 { font-size: 24px; }
}

@media (max-width: 900px) {
  #screen-login:not(.in-hub) .auth-lobby-nav {
    width: calc(100% - 20px);
    min-height: 60px;
    padding: 8px 68px 8px 9px;
  }

  .auth-lobby-back,
  .auth-lobby-mark {
    flex-basis: 38px;
    width: 38px;
    height: 38px;
  }

  #screen-login:not(.in-hub) .login-inner {
    top: 76px;
    bottom: 10px;
    width: calc(100% - 20px);
    border-radius: 18px;
  }

  #screen-login:not(.in-hub) .vs-cluster { left: 5%; bottom: 39%; width: 180px; }
  #screen-login:not(.in-hub) .kit-runner-slot { left: 63%; bottom: max(4px, calc(39% - 162px)); width: 292px; }
  #screen-login:not(.in-hub) .auth-versus-badge { left: 43%; bottom: calc(39% + 72px); width: 48px; height: 48px; font-size: 12px; }
  #screen-login:not(.in-hub) .auth-dialogue { left: 50%; top: 14%; width: min(410px, calc(100% - 40px)); transform: translateX(-50%); }
  #screen-login:not(.in-hub) #auth-forms {
    top: auto;
    right: 18px;
    bottom: 16px;
    left: 18px;
    width: auto;
    padding: 20px;
    transform: none;
    animation: none;
  }
}

@media (max-width: 520px) {
  #screen-login:not(.in-hub) .auth-lobby-nav { width: calc(100% - 12px); padding-right: 58px; }
  .auth-lobby-mark { display: none; }
  #screen-login:not(.in-hub) .login-inner { top: 72px; bottom: 8px; width: calc(100% - 12px); border-radius: 15px; }
  #screen-login:not(.in-hub) .vs-cluster { left: 3%; bottom: 42%; width: 136px; }
  #screen-login:not(.in-hub) .kit-runner-slot { left: 68%; bottom: max(4px, calc(42% - 120px)); width: 220px; }
  #screen-login:not(.in-hub) .auth-versus-badge { left: 42%; bottom: calc(42% + 48px); width: 40px; height: 40px; font-size: 10px; }
  #screen-login:not(.in-hub) .auth-dialogue { top: 12%; }
  #screen-login:not(.in-hub) #auth-forms { right: 10px; bottom: 10px; left: 10px; padding: 17px 16px 15px; }
}

@media (prefers-reduced-motion: reduce) {
  #screen-login:not(.in-hub) .vs-cluster,
  #screen-login:not(.in-hub) .kit-runner-slot,
  #screen-login:not(.in-hub) .auth-versus-badge,
  #screen-login:not(.in-hub) .auth-dialogue,
  #screen-login:not(.in-hub) .login-inner::before,
  #screen-login:not(.in-hub) .logo-hero::before,
  #screen-login:not(.in-hub) #auth-forms,
  #screen-login:not(.in-hub) .auth-login-button::after {
    animation: none !important;
  }
}

#screen-login:not(.in-hub) .auth-lobby-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.4vw, 42px);
  margin-left: auto;
  margin-right: 82px;
}

#screen-login:not(.in-hub) .auth-lobby-tabs button {
  position: relative;
  min-height: 34px;
  padding: 0 0 8px;
  border: 0;
  background: transparent;
  color: rgba(184, 203, 225, 0.68);
  font-family: "Orbitron", sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  cursor: pointer;
  transition: color 160ms ease, transform 160ms ease;
}

#screen-login:not(.in-hub) .auth-lobby-tabs button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  opacity: 0;
  background: #f0b90b;
  box-shadow: 0 0 14px rgba(240, 185, 11, 0.42);
}

#screen-login:not(.in-hub) .auth-lobby-tabs button:hover,
#screen-login:not(.in-hub) .auth-lobby-tabs button.is-active {
  color: #eef6ff;
}

#screen-login:not(.in-hub) .auth-lobby-tabs button.is-active::after {
  opacity: 1;
}

#screen-login:not(.in-hub) .auth-dialogue {
  width: min(410px, 24vw);
  transition: opacity 320ms ease, left 320ms ease, top 320ms ease, transform 320ms ease;
}

#screen-login:not(.in-hub) .auth-dialogue.is-bear-turn {
  left: clamp(310px, 26vw, 560px);
  top: 27%;
  transform: none;
}

#screen-login:not(.in-hub) .auth-dialogue.is-hero-turn {
  left: clamp(790px, 48vw, 1040px);
  top: 27%;
  transform: none;
}

#screen-login:not(.in-hub) .auth-speech {
  max-width: 100%;
}

#screen-login:not(.in-hub) .auth-speech-bear {
  margin-right: 0;
  margin-left: 0;
  transform: none;
}

#screen-login:not(.in-hub) .auth-dialogue.is-visible.is-bear-turn .auth-speech-bear {
  animation: cpAuthBubbleFromLeft 320ms ease both;
}

#screen-login:not(.in-hub) .auth-speech-hero {
  margin-left: 0;
  transform: none;
}

#screen-login:not(.in-hub) .auth-dialogue.is-visible.is-hero-turn .auth-speech-hero {
  animation: cpAuthBubbleFromRight 320ms ease both;
}

#screen-login:not(.in-hub) .auth-login-trust {
  display: none !important;
}

#screen-login:not(.in-hub) .auth-lobby-footer {
  position: absolute;
  left: clamp(48px, 3.4vw, 80px);
  bottom: 30px;
  z-index: 20;
  display: flex;
  align-items: end;
  gap: 22px;
  pointer-events: none;
}

#screen-login:not(.in-hub) .auth-lobby-footer button {
  pointer-events: auto;
  min-height: 38px;
  padding: 8px 4px;
  border: 0;
  background: transparent;
  color: rgba(190, 207, 229, 0.72);
  font-family: "Share Tech Mono", monospace;
  font-size: 14px;
  letter-spacing: 1.8px;
  cursor: pointer;
  transition: color 160ms ease, transform 160ms ease;
}

#screen-login:not(.in-hub) .auth-lobby-footer button:hover {
  color: #eef6ff;
  transform: translateY(-2px);
}

#screen-login:not(.in-hub) .auth-lobby-footer .auth-enter-word {
  margin-left: clamp(118px, 9vw, 220px);
  padding: 0;
  color: rgba(238, 246, 255, 0.26);
  font-family: "Orbitron", sans-serif;
  font-size: clamp(58px, 5vw, 92px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 1px;
  text-shadow:
    0 0 1px rgba(238, 246, 255, 0.8),
    0 0 24px rgba(240, 185, 11, 0.1);
  -webkit-text-stroke: 1px rgba(238, 246, 255, 0.32);
}

@media (max-width: 1450px) {
  #screen-login:not(.in-hub) .auth-lobby-tabs { margin-right: 58px; gap: 28px; }
  #screen-login:not(.in-hub) .auth-dialogue.is-bear-turn { left: 20%; top: 25%; width: 360px; }
  #screen-login:not(.in-hub) .auth-dialogue.is-hero-turn { left: 45.5%; top: 25%; width: 360px; }
  #screen-login:not(.in-hub) .auth-lobby-footer button { font-size: 13px; }
  #screen-login:not(.in-hub) .auth-lobby-footer .auth-enter-word { margin-left: 95px; font-size: 64px; }
}

@media (max-width: 1100px) {
  #screen-login:not(.in-hub) .auth-lobby-tabs { display: none; }
  #screen-login:not(.in-hub) .auth-dialogue.is-bear-turn { left: 10%; top: 20%; width: 300px; }
  #screen-login:not(.in-hub) .auth-dialogue.is-hero-turn { left: 42%; top: 20%; width: 300px; }
  #screen-login:not(.in-hub) .auth-lobby-footer .auth-enter-word { margin-left: 60px; font-size: 52px; }
}

@media (max-width: 900px) {
  #screen-login:not(.in-hub) .auth-dialogue.is-bear-turn,
  #screen-login:not(.in-hub) .auth-dialogue.is-hero-turn {
    left: 50%;
    top: 14%;
    width: min(410px, calc(100% - 40px));
    transform: translateX(-50%);
  }

  #screen-login:not(.in-hub) .auth-lobby-footer {
    display: none;
  }
}
