/* Login: Vertex glass and glow button over the WebGPU aurora, plus the same starfield as the home. */
.shell-login { background: #020204; }
.shell-login .page-wash {
  background:
    radial-gradient(70% 45% at 50% 108%, rgba(40,120,255,.2), rgba(40,120,255,0) 70%),
    linear-gradient(180deg, rgba(2,2,4,.72) 0%, rgba(2,2,4,.45) 60%, rgba(2,2,4,.7) 100%);
}
.shell-login.has-gpu .page-wash,
.has-gpu .shell-login .page-wash { background: linear-gradient(180deg, rgba(2,2,4,.7), rgba(2,2,4,.45) 60%, rgba(2,2,4,.72)); }
.shell-login .main {
  min-block-size: 100dvh;
  display: grid;
  place-items: center;
  padding: 32px 18px;
}
.lg-stars {
  position: fixed;
  left: 0;
  top: 0;
  inline-size: 1px;
  block-size: 1px;
  z-index: 0;
  pointer-events: none;
}

.lg-card {
  position: relative;
  z-index: 1;
  inline-size: min(30rem, 100%);
  padding: 30px 30px 28px;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.105);
  background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012));
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: 0 30px 80px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.05);
  color: #fff;
  font-family: Poppins, "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  line-height: 1.6;
}
@media (prefers-reduced-motion: no-preference) {
  .lg-card { animation: lg-in .9s cubic-bezier(.16,1,.3,1) both; }
}
@keyframes lg-in { from { opacity: 0; translate: 0 18px; scale: .985; } }
.lg-brand { display: inline-flex; align-items: center; gap: 9px; color: #fff; text-decoration: none; }
.lg-mark { inline-size: 30px; block-size: 30px; filter: drop-shadow(0 0 7px rgba(60,224,255,.75)); }
.lg-wm { display: grid; gap: 3px; line-height: 1; }
.lg-kick { font-size: 6.5px; font-weight: 600; letter-spacing: .18em; opacity: .9; }
.lg-name { font-family: Poppins, "Noto Sans SC Black", "Microsoft YaHei UI", sans-serif; font-weight: 900; font-size: 21px; letter-spacing: .02em; }
.lg-badge {
  position: relative;
  display: flex;
  inline-size: fit-content;
  align-items: center;
  block-size: 36px;
  margin: 22px 0 0;
  padding: 0 14px 0 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.115);
  background: linear-gradient(to top, rgba(190,225,255,.175) 0px, rgba(190,225,255,.075) 4px, rgba(255,255,255,.012) 9px);
  font-size: 12.5px;
}
.lg-badge b { font-weight: 400; color: rgba(255,255,255,.92); }
.lg-badge i {
  position: absolute;
  left: 4px;
  top: 3px;
  inline-size: 28px;
  block-size: 28px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(to top, #46afc8 0px, #0b859d 4px, #004e66 8px, #012c3d 12px, #061125 16px, #060d16 28px);
  box-shadow: inset 1px 0 0 rgba(150,220,250,.4), inset -1px 0 0 rgba(150,220,250,.52), 0 0 6px rgba(60,190,230,.2);
}
.lg-badge i svg { inline-size: 13px; block-size: 15px; fill: rgba(16,112,152,.72); stroke: rgba(190,236,255,.6); stroke-width: 1.6; stroke-linejoin: round; }
.lg-card h1 {
  margin: 16px 0 8px;
  font-family: Poppins, "Noto Sans SC Black", "Microsoft YaHei UI", sans-serif;
  font-weight: 900;
  font-size: clamp(26px, 6vw, 32px);
  line-height: 1.2;
  letter-spacing: .02em;
  text-shadow: 0 0 30px rgba(130,180,255,.25);
}
.lg-lede { margin: 0 0 18px; color: #a9aeb5; font-size: 14.5px; }
.lg-error {
  margin: 0 0 16px;
  padding: 11px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,155,148,.4);
  background: rgba(255,155,148,.1);
  color: #ffb3ad;
  font-size: 14px;
}
.lg-field { margin: 0 0 16px; }
.lg-field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.92); }
.lg-hint { display: block; margin: -2px 0 8px; font-size: 12.5px; color: rgba(255,255,255,.55); }
.lg-field input {
  inline-size: 100%;
  block-size: 48px;
  padding: 0 14px;
  border-radius: 13px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(3,6,14,.6);
  color: #fff;
  font: inherit;
  font-size: 16px;
  transition: border-color .2s, box-shadow .2s;
}
.lg-field input:focus { outline: none; border-color: rgba(120,225,255,.7); box-shadow: 0 0 0 3px rgba(62,200,228,.18); }
.lg-pw { position: relative; display: block; }
.lg-pw input { padding-right: 104px; }
.lg-pw .pw-toggle {
  position: absolute;
  right: 6px;
  top: 6px;
  bottom: 6px;
  inset-inline-end: 6px;
  inset-block-end: 6px;
  padding: 0 12px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.85);
  font-size: 13px;
  cursor: pointer;
}
.lg-pw .pw-toggle:hover { border-color: rgba(120,225,255,.6); }

/* Vertex glow button: the cyan bank is a gradient clipped by the button itself */
.lg-btn {
  position: relative;
  display: grid;
  place-items: center;
  inline-size: 100%;
  block-size: 54px;
  margin-top: 6px;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
  color: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  background: linear-gradient(to top,
    #9ad9ec 1px, #89dff0 2px, #79e0f1 3px, #61daef 4px, #3ec8e4 5px,
    #14a8c6 6px, #0596b3 7px, #038aa8 8px, #047796 9px, #006180 10px,
    #025066 12px, #0a4f5e 13px, #04465a 14px, #073746 16px,
    #0a2a37 18px, #0d212e 20px, #0f1824 24px, #0a121e 30px, #0a111d 34px, #0a111d 100%);
  box-shadow: inset 0 3px 3px -2px rgba(180,228,255,.10), inset 1px 0 0 rgba(255,255,255,.09),
    inset -1px 0 0 rgba(255,255,255,.09), 0 1px 0 rgba(152,218,234,.38),
    1px 0 0 rgba(152,218,234,.17), -1px 0 0 rgba(152,218,234,.17),
    0 0 8px rgba(60,190,235,.10), 0 2px 5px -3px rgba(90,220,255,.45);
  transition: transform .25s, box-shadow .25s, filter .25s;
}
.lg-btn::before {
  content: "";
  position: absolute;
  left: 22%;
  right: 38%;
  top: .8px;
  block-size: 1.9px;
  filter: blur(.55px);
  background: linear-gradient(90deg, rgba(120,225,255,0), rgba(160,240,255,.74) 50%, rgba(120,225,255,0));
}
.lg-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(200,245,255,.70), rgba(200,245,255,0) 13px),
    linear-gradient(270deg, rgba(200,245,255,.70), rgba(200,245,255,0) 13px);
  -webkit-mask: linear-gradient(to top, #000 0, #000 6px, rgba(0,0,0,.40) 12px, rgba(0,0,0,.15) 18px, rgba(0,0,0,.02) 30px);
  mask: linear-gradient(to top, #000 0, #000 6px, rgba(0,0,0,.40) 12px, rgba(0,0,0,.15) 18px, rgba(0,0,0,.02) 30px);
}
.lg-btn span { position: relative; z-index: 2; text-shadow: 0 1px 2px rgba(0,20,30,.5); }
.lg-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.12);
  box-shadow: inset 0 1px 0 rgba(200,245,255,.6), 0 6px 22px rgba(20,180,225,.55);
}
.lg-btn:focus-visible { outline: 2px solid rgba(120,225,255,.85); outline-offset: 3px; }
