/* ========== 登录/注册页面 — Editorial Glass Intro ========== */
.mix-auth-overlay {
  --mix-auth-photo:
    linear-gradient(180deg, rgba(7, 7, 10, 0.04), rgba(7, 7, 10, 0.04)),
    url("../data/auth-bg-kelong.jpg");
  --mix-auth-photo-position: center 22%;
  --mix-auth-accent-rgb: 255, 245, 236;
  --mix-auth-fill-rgb: 255, 255, 255;
  position: fixed;
  inset: 0;
  z-index: 2147483001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    max(28px, env(safe-area-inset-top))
    max(18px, env(safe-area-inset-right))
    max(26px, env(safe-area-inset-bottom))
    max(18px, env(safe-area-inset-left));
  box-sizing: border-box;
  overflow: hidden;
  isolation: isolate;
  background: #050505;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity .72s cubic-bezier(.22, 1, .36, 1),
    visibility .72s step-end;
}

.mix-auth-overlay.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity .72s cubic-bezier(.22, 1, .36, 1),
    visibility 0s;
}

.mix-auth-overlay.is-hiding {
  opacity: 0;
  pointer-events: none;
}

.mix-auth-overlay[data-mode="register"] {
  --mix-auth-photo:
    linear-gradient(180deg, rgba(12, 10, 12, 0.08), rgba(12, 10, 12, 0.08)),
    url("../data/auth-bg-kelong.jpg");
  --mix-auth-accent-rgb: 255, 237, 246;
}

body.mix-auth-lock {
  overflow: hidden;
}

.mix-auth-scene,
.mix-auth-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mix-auth-scene {
  z-index: 0;
  overflow: hidden;
}

.mix-auth-photo,
.mix-auth-photo-blur,
.mix-auth-photo-noise,
.mix-auth-light-beam,
.mix-auth-float {
  position: absolute;
}

.mix-auth-photo {
  inset: 0;
  background-image: var(--mix-auth-photo);
  background-size: cover;
  background-position: var(--mix-auth-photo-position);
  transform: scale(1.1);
  filter: brightness(.9) saturate(.78) contrast(1.02);
  transition:
    transform 6.5s cubic-bezier(.16, 1, .3, 1),
    filter 1.2s ease;
}

.mix-auth-photo::before,
.mix-auth-photo::after {
  content: '';
  position: absolute;
  inset: 0;
}

.mix-auth-photo::before {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .18) 18%, rgba(0, 0, 0, .02) 38%, rgba(0, 0, 0, .08) 64%, rgba(0, 0, 0, .54) 100%);
}

.mix-auth-photo::after {
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, .16), transparent 20%),
    radial-gradient(circle at 74% 34%, rgba(255, 255, 255, .07), transparent 24%);
  mix-blend-mode: screen;
  opacity: .5;
}

.mix-auth-overlay.is-visible .mix-auth-photo {
  transform: scale(1.02);
  filter: brightness(.94) saturate(.82) contrast(1.04);
}

.mix-auth-photo-blur {
  inset: 18% 8% 20%;
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .08), transparent 60%);
  filter: blur(60px);
  opacity: 0;
  transform: scale(.92);
  transition:
    transform 1.2s cubic-bezier(.16, 1, .3, 1),
    opacity 1.2s ease;
}

.mix-auth-overlay.is-visible .mix-auth-photo-blur {
  opacity: 0;
  transform: scale(1);
}

.mix-auth-light-beam {
  left: 10%;
  top: -22%;
  width: 80%;
  height: 150%;
  transform: skewX(-18deg) translateX(-2%);
  background: linear-gradient(90deg, transparent 24%, rgba(255, 255, 255, .06) 42%, rgba(255, 255, 255, .18) 50%, rgba(255, 255, 255, .06) 58%, transparent 76%);
  filter: blur(28px);
  opacity: .56;
  animation: mix-auth-light-beam 12s ease-in-out infinite;
}

.mix-auth-photo-noise {
  inset: 0;
  opacity: .04;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 4px);
  mix-blend-mode: soft-light;
}

.mix-auth-bg {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .14) 0%, rgba(0, 0, 0, 0) 28%, rgba(0, 0, 0, .04) 62%, rgba(0, 0, 0, .18) 100%),
    radial-gradient(circle at 50% 58%, rgba(255, 255, 255, .02), transparent 30%);
}

.mix-auth-float {
  z-index: 1;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid rgba(255, 255, 255, .36);
  background: linear-gradient(180deg, rgba(255, 255, 255, .018), rgba(255, 255, 255, .004));
  box-shadow:
    0 12px 28px rgba(0, 0, 0, .06),
    0 1px 0 rgba(255, 255, 255, .1) inset;
  color: rgba(255, 255, 255, .9);
  overflow: hidden;
  opacity: 0;
  transition:
    opacity .9s cubic-bezier(.16, 1, .3, 1),
    transform 1s cubic-bezier(.16, 1, .3, 1);
}

.mix-auth-float::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .06), transparent 38%);
  pointer-events: none;
}

.mix-auth-float-a {
  left: 8%;
  top: 16%;
  width: min(210px, 32vw);
  padding: 16px 16px 14px;
  border-radius: 26px;
  transform: translateY(30px) rotate(-5deg);
}

.mix-auth-float-b {
  right: 9%;
  top: 27%;
  width: min(238px, 34vw);
  padding: 14px 16px 16px;
  border-radius: 28px;
  transform: translateY(32px) rotate(5deg);
}

.mix-auth-float-c {
  left: 50%;
  bottom: 28%;
  width: min(260px, 48vw);
  padding: 14px 16px;
  border-radius: 24px;
  transform: translate(-50%, 34px) scale(.96);
}

.mix-auth-overlay.is-visible .mix-auth-float-a {
  opacity: 1;
  transform: translateY(0) rotate(-5deg);
  transition-delay: .16s;
  animation: mix-auth-float-a-drift 8s ease-in-out 1.4s infinite;
}

.mix-auth-overlay.is-visible .mix-auth-float-b {
  opacity: 1;
  transform: translateY(0) rotate(5deg);
  transition-delay: .28s;
  animation: mix-auth-float-b-drift 9s ease-in-out 1.5s infinite;
}

.mix-auth-overlay.is-visible .mix-auth-float-c {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
  transition-delay: .42s;
  animation: mix-auth-float-c-drift 9.8s ease-in-out 1.6s infinite;
}

.mix-auth-float-kicker {
  font-size: .62rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .58);
}

.mix-auth-float-title {
  margin-top: 8px;
  font-size: 1rem;
  letter-spacing: .03em;
}

.mix-auth-float-subtitle {
  margin-top: 4px;
  font-size: .74rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, .56);
}

.mix-auth-float-lines {
  margin-top: 16px;
  display: grid;
  gap: 8px;
}

.mix-auth-float-lines-compact {
  margin-top: 0;
}

.mix-auth-float-line {
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .38), transparent);
}

.mix-auth-float-line.short {
  width: 62%;
}

.mix-auth-float-tags {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mix-auth-float-tag {
  padding: 5px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .34);
  background: rgba(255, 255, 255, .008);
  color: rgba(255, 255, 255, .78);
  font-size: .65rem;
  letter-spacing: .04em;
}

.mix-auth-float-tag:empty {
  display: inline-block;
  width: 58px;
  height: 24px;
  padding: 0;
}

.mix-auth-float-tag:empty:nth-child(2) {
  width: 74px;
}

.mix-auth-float-tag:empty:nth-child(3) {
  width: 66px;
}

.mix-auth-card {
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  max-height: calc(100vh - 52px);
  overflow: auto;
  box-sizing: border-box;
  border-radius: 32px;
  padding: 24px 22px 20px;
  color: rgba(255, 255, 255, .94);
  background: linear-gradient(180deg, rgba(255, 255, 255, .016), rgba(255, 255, 255, .005) 52%, rgba(255, 255, 255, .002) 100%);
  border: 1px solid rgba(255, 255, 255, .34);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, .08),
    0 1px 0 rgba(255, 255, 255, .11) inset;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transform: translateY(34px);
  opacity: 0;
  transition:
    opacity .8s cubic-bezier(.16, 1, .3, 1),
    transform .9s cubic-bezier(.16, 1, .3, 1),
    box-shadow .3s ease;
  scrollbar-width: none;
}

.mix-auth-card::-webkit-scrollbar {
  display: none;
}

.mix-auth-overlay.is-visible .mix-auth-card {
  opacity: 1;
  transform: translateY(0);
}

.mix-auth-overlay.is-hiding .mix-auth-card {
  opacity: 0;
  transform: translateY(18px);
}

.mix-auth-card.is-switching {
  animation: mix-auth-card-switch .42s cubic-bezier(.34, 1.56, .64, 1);
}

.mix-auth-card::before,
.mix-auth-card::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.mix-auth-card::before {
  left: 10%;
  right: 10%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .8), transparent);
}

.mix-auth-card::after {
  right: -54px;
  bottom: -54px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .025), transparent 72%);
  filter: blur(12px);
  opacity: .12;
}

.mix-auth-card-head,
.mix-auth-logo,
.mix-auth-title,
.mix-auth-subtitle,
.mix-auth-panel-tag,
.mix-auth-form > .mix-auth-input-group,
.mix-auth-submit,
.mix-auth-switch,
.mix-auth-footer {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity .62s cubic-bezier(.16, 1, .3, 1),
    transform .72s cubic-bezier(.16, 1, .3, 1);
}

.mix-auth-overlay.is-visible .mix-auth-card-head,
.mix-auth-overlay.is-visible .mix-auth-logo,
.mix-auth-overlay.is-visible .mix-auth-title,
.mix-auth-overlay.is-visible .mix-auth-subtitle,
.mix-auth-overlay.is-visible .mix-auth-panel-tag,
.mix-auth-overlay.is-visible .mix-auth-form > .mix-auth-input-group,
.mix-auth-overlay.is-visible .mix-auth-submit,
.mix-auth-overlay.is-visible .mix-auth-switch,
.mix-auth-overlay.is-visible .mix-auth-footer {
  opacity: 1;
  transform: translateY(0);
}

.mix-auth-card-head { transition-delay: .16s; }
.mix-auth-logo { transition-delay: .22s; }
.mix-auth-title { transition-delay: .3s; }
.mix-auth-subtitle { transition-delay: .38s; }
.mix-auth-panel-tag { transition-delay: .46s; }
.mix-auth-form > .mix-auth-input-group { transition-delay: .54s; }
.mix-auth-form > .mix-auth-input-group + .mix-auth-input-group { transition-delay: .6s; }
.mix-auth-form > .mix-auth-input-group + .mix-auth-input-group + .mix-auth-input-group { transition-delay: .66s; }
.mix-auth-submit { transition-delay: .74s; }
.mix-auth-switch { transition-delay: .82s; }
.mix-auth-footer { transition-delay: .9s; }

.mix-auth-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.mix-auth-kicker {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .008);
  color: rgba(255, 255, 255, .74);
  font-size: .62rem;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.mix-auth-card-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .42), transparent);
}

.mix-auth-logo {
  width: 62px;
  height: 62px;
  display: block;
  margin: 0 auto 16px;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(255, 255, 255, .94);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, .22),
    0 1px 0 rgba(255, 255, 255, .4) inset;
}

.mix-auth-title {
  margin: 0 0 6px;
  text-align: center;
  font-size: clamp(1.46rem, 4.4vw, 1.8rem);
  font-weight: 600;
  letter-spacing: .06em;
  text-shadow: 0 8px 26px rgba(0, 0, 0, .22);
}

.mix-auth-subtitle {
  margin: 0;
  text-align: center;
  color: rgba(255, 255, 255, .68);
  font-size: .78rem;
  letter-spacing: .14em;
}

.mix-auth-panel-tag {
  width: fit-content;
  max-width: 100%;
  margin: 16px auto 22px;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .008);
  color: rgba(255, 255, 255, .8);
  font-size: .7rem;
  letter-spacing: .06em;
  box-sizing: border-box;
}

.mix-auth-panel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(var(--mix-auth-fill-rgb), .92);
  box-shadow: 0 0 0 4px rgba(var(--mix-auth-fill-rgb), .1);
  animation: mix-auth-panel-dot 2.4s ease-in-out infinite;
}

.mix-auth-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mix-auth-message-slot {
  position: relative;
  display: grid;
  min-height: 52px;
}

.mix-auth-input-group {
  position: relative;
}

.mix-auth-input-group label {
  display: block;
  margin-bottom: 6px;
  color: rgba(255, 255, 255, .64);
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.mix-auth-input {
  width: 100%;
  height: 47px;
  padding: 0 15px;
  box-sizing: border-box;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .008);
  color: rgba(255, 255, 255, .96);
  font-size: .92rem;
  font-family: inherit;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
  transition:
    border-color .28s ease,
    background .28s ease,
    box-shadow .28s ease,
    transform .2s ease;
}

.mix-auth-input:focus {
  border-color: rgba(255, 255, 255, .52);
  background: rgba(255, 255, 255, .016);
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, .028),
    0 8px 18px rgba(0, 0, 0, .02),
    inset 0 1px 0 rgba(255, 255, 255, .1);
  transform: translateY(-1px);
}

.mix-auth-input::placeholder {
  color: rgba(255, 255, 255, .42);
}

.mix-auth-pw-toggle {
  position: absolute;
  top: 35px;
  right: 12px;
  width: 26px;
  height: 26px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: none;
  color: rgba(255, 255, 255, .66);
  cursor: pointer;
  transition:
    color .24s ease,
    opacity .24s ease,
    transform .18s ease;
}

.mix-auth-pw-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mix-auth-pw-toggle:hover {
  color: rgba(255, 255, 255, .92);
}

.mix-auth-pw-toggle:active {
  transform: scale(.95);
}

.mix-auth-pw-toggle.is-visible-password {
  color: rgba(255, 255, 255, .9);
}

.mix-auth-error,
.mix-auth-success {
  grid-area: 1 / 1;
  display: block;
  padding: 10px 14px;
  border-radius: 15px;
  text-align: center;
  font-size: .78rem;
  line-height: 1.5;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  pointer-events: none;
  transition:
    opacity .2s ease,
    transform .24s ease,
    visibility 0s linear .24s;
}

.mix-auth-error {
  background: rgba(255, 112, 112, .14);
  border: 1px solid rgba(255, 152, 152, .2);
  color: #ffd3d3;
}

.mix-auth-error.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0s;
  animation: mix-auth-shake .42s ease;
}

.mix-auth-success {
  background: rgba(183, 255, 221, .12);
  border: 1px solid rgba(183, 255, 221, .18);
  color: #d5ffeb;
}

.mix-auth-success.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0s;
}

.mix-auth-submit {
  position: relative;
  width: 100%;
  height: 49px;
  margin-top: 4px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, .38);
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), rgba(255, 255, 255, .008));
  color: rgba(255, 255, 255, .98);
  font-size: .94rem;
  font-weight: 600;
  letter-spacing: .14em;
  font-family: inherit;
  cursor: pointer;
  overflow: hidden;
  box-shadow:
    0 10px 24px rgba(0, 0, 0, .06),
    0 1px 0 rgba(255, 255, 255, .12) inset;
  transition:
    transform .18s ease,
    box-shadow .28s ease,
    background .28s ease;
}

.mix-auth-submit::before,
.mix-auth-submit::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  pointer-events: none;
}

.mix-auth-submit::before {
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 56%);
}

.mix-auth-submit::after {
  left: -120%;
  width: 74%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .28), transparent);
  transform: skewX(-24deg);
  animation: mix-auth-btn-shine 3.4s ease-in-out 1.8s infinite;
}

.mix-auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .08);
}

.mix-auth-submit:active {
  transform: scale(.985);
}

.mix-auth-submit:disabled {
  opacity: .62;
  cursor: not-allowed;
  transform: none;
}

.mix-auth-loading {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 7px;
  vertical-align: middle;
  border: 2px solid rgba(255, 255, 255, .2);
  border-top-color: rgba(255, 255, 255, .92);
  border-radius: 50%;
  animation: mix-auth-spin .66s linear infinite;
}

.mix-auth-switch {
  margin-top: 16px;
  text-align: center;
  color: rgba(255, 255, 255, .7);
  font-size: .78rem;
}

.mix-auth-switch-link {
  padding: 0;
  border: none;
  background: none;
  color: rgba(255, 255, 255, .96);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s ease;
}

.mix-auth-switch-link:hover {
  opacity: .78;
}

.mix-auth-footer {
  margin-top: 14px;
  text-align: center;
  color: rgba(255, 255, 255, .52);
  font-size: .66rem;
  letter-spacing: .08em;
}

.mix-auth-invite-row {
  max-height: 0;
  margin: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition:
    max-height .36s cubic-bezier(.16, 1, .3, 1),
    opacity .28s ease,
    transform .36s cubic-bezier(.16, 1, .3, 1);
}

.mix-auth-invite-row.is-visible {
  max-height: 92px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

@keyframes mix-auth-light-beam {
  0%, 100% {
    transform: skewX(-18deg) translateX(-2%);
    opacity: .44;
  }
  50% {
    transform: skewX(-18deg) translateX(4%);
    opacity: .72;
  }
}

@keyframes mix-auth-float-a-drift {
  0%, 100% { transform: translateY(0) rotate(-5deg); }
  50% { transform: translateY(-10px) rotate(-3deg); }
}

@keyframes mix-auth-float-b-drift {
  0%, 100% { transform: translateY(0) rotate(5deg); }
  50% { transform: translateY(12px) rotate(3deg); }
}

@keyframes mix-auth-float-c-drift {
  0%, 100% { transform: translate(-50%, 0) scale(1); }
  50% { transform: translate(-50%, -10px) scale(1.02); }
}

@keyframes mix-auth-card-switch {
  0% { transform: translateY(0) scale(1); }
  45% { transform: translateY(-3px) scale(1.01); }
  100% { transform: translateY(0) scale(1); }
}

@keyframes mix-auth-panel-dot {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(var(--mix-auth-fill-rgb), .1);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(var(--mix-auth-fill-rgb), .04);
    transform: scale(1.12);
  }
}

@keyframes mix-auth-btn-shine {
  0% { transform: translateX(0) skewX(-24deg); }
  32% { transform: translateX(300%) skewX(-24deg); }
  100% { transform: translateX(300%) skewX(-24deg); }
}

@keyframes mix-auth-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

@keyframes mix-auth-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 700px) {
  .mix-auth-float-a {
    left: 5%;
    top: 14%;
    width: 156px;
    padding: 12px 12px 10px;
  }

  .mix-auth-float-b {
    right: 5%;
    top: 23%;
    width: 168px;
    padding: 12px;
  }

  .mix-auth-float-c {
    bottom: 33%;
    width: min(210px, 58vw);
    padding: 12px 14px;
  }
}

@media (max-width: 560px) {
  .mix-auth-overlay {
    padding:
      max(20px, env(safe-area-inset-top))
      max(14px, env(safe-area-inset-right))
      max(18px, env(safe-area-inset-bottom))
      max(14px, env(safe-area-inset-left));
  }

  .mix-auth-float-a,
  .mix-auth-float-b {
    display: none;
  }

  .mix-auth-float-c {
    left: 50%;
    bottom: 40%;
    width: min(240px, 72vw);
  }

  .mix-auth-card {
    width: 100%;
    border-radius: 28px;
    padding: 22px 18px 18px;
  }

  .mix-auth-photo {
    background-position: center 18%;
  }

  .mix-auth-logo {
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
  }

  .mix-auth-title {
    font-size: 1.38rem;
  }

  .mix-auth-subtitle {
    letter-spacing: .1em;
  }

  .mix-auth-panel-tag {
    width: 100%;
    justify-content: center;
    margin-bottom: 20px;
    font-size: .68rem;
  }
}

@media (max-height: 760px) {
  .mix-auth-float-c {
    display: none;
  }

  .mix-auth-card {
    max-height: calc(100vh - 28px);
    padding: 20px 18px 18px;
  }

  .mix-auth-card-head {
    margin-bottom: 10px;
  }

  .mix-auth-logo {
    width: 52px;
    height: 52px;
    margin-bottom: 12px;
  }

  .mix-auth-panel-tag {
    margin: 14px auto 16px;
  }

  .mix-auth-form {
    gap: 10px;
  }

  .mix-auth-input {
    height: 44px;
  }

  .mix-auth-submit {
    height: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mix-auth-overlay,
  .mix-auth-overlay *,
  .mix-auth-photo,
  .mix-auth-float {
    animation: none !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}
