/* SLuSH Softball opener */

/* Hide the motion-editor chrome that ships with the composition engine. */
[data-omelette-chrome] { display: none !important; }

.slush-opener {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 520px;
  background: #03080f;
  overflow: hidden;
}

.slush-opener #slush-opener-stage { position: absolute; inset: 0; }

.slush-opener a { color: #f0b429; }
.slush-opener a:hover { color: #f6ecd6; }

.slush-login-wrap {
  position: absolute;
  left: 50%;
  bottom: 3vh;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) scale(0.88);
  transition: opacity 420ms ease-out, transform 520ms cubic-bezier(0.18, 1.35, 0.4, 1);
}
.slush-login-wrap.is-revealed {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) scale(1);
}

.slush-login {
  position: relative;
  margin: 0 auto;
  width: min(380px, 88vw);
  padding: 18px 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: rgba(7, 18, 39, 0.9);
  border: 1px solid rgba(240, 180, 41, 0.35);
  backdrop-filter: blur(10px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.65);
  font-family: 'Barlow Condensed', sans-serif;
}

.slush-login__head { display: flex; flex-direction: column; gap: 4px; }
.slush-login__title {
  font-family: Anton, sans-serif;
  font-size: 23px;
  letter-spacing: 0.08em;
  color: #f6ecd6;
  text-transform: uppercase;
}
.slush-login__brand { font-size: 15px; letter-spacing: 0.14em; color: #f0b429; }

.slush-login label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(246, 236, 214, 0.7);
}

.slush-login input {
  height: 36px;
  padding: 0 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: #f6ecd6;
  background: rgba(3, 8, 15, 0.75);
  border: 1px solid rgba(246, 236, 214, 0.28);
  border-radius: 0;
  outline: none;
}
.slush-login input:focus { border-color: rgba(240, 180, 41, 0.75); }

.slush-login__btn {
  height: 42px;
  margin-top: 2px;
  font-family: Anton, sans-serif;
  font-size: 20px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f6ecd6;
  background: #c8102e;
  border: none;
  cursor: pointer;
  transition: background 160ms ease;
}
.slush-login__btn:hover { background: #e11837; }

.slush-login__links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: rgba(246, 236, 214, 0.65);
}
.slush-login__links a { text-decoration: none; }
.slush-login__links a:last-child { color: rgba(246, 236, 214, 0.65); }

@media (max-width: 767px) {
  .slush-opener { height: 100svh; min-height: 480px; }
  .slush-login { width: min(340px, 92vw); padding: 14px 16px; gap: 7px; }
  .slush-login__title { font-size: 20px; }
  .slush-login input { height: 40px; font-size: 17px; }
  .slush-login__btn { height: 46px; font-size: 18px; }
  .slush-login-wrap { bottom: 2vh; }
}

@media (prefers-reduced-motion: reduce) {
  .slush-login-wrap { transition: none; }
}

/* Sign-in feedback. Added when the panel was wired to Ultimate Member. */
.slush-login__error {
  margin: 0;
  padding: 7px 10px;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #ffd9d9;
  background: rgba(200, 16, 46, 0.22);
  border: 1px solid rgba(200, 16, 46, 0.6);
}
.slush-login__error[hidden] { display: none; }
.slush-login__btn:disabled { opacity: 0.65; cursor: default; }
.slush-login__btn:focus-visible,
.slush-login input:focus-visible,
.slush-login__links a:focus-visible { outline: 2px solid #f0b429; outline-offset: 2px; }
