/* 创想短视频 · 登录 / 注册 */
.login-body {
  min-height: 100vh; background: #F4F1EA; color: #15161A; font-family: var(--font, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif);
}
.login-shell { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 100vh; }
.login-stage {
  position: relative; overflow: hidden; background: #121317; color: #F3F0E9;
  display: flex; flex-direction: column; padding: 34px 44px 26px;
}
.stage-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(circle at 40% 40%, #000 20%, transparent 78%); }
.stage-glow { position: absolute; border-radius: 50%; filter: blur(10px); pointer-events: none; }
.stage-glow.g1 { width: 460px; height: 460px; right: -140px; top: -120px; background: radial-gradient(circle, rgba(255,61,80,.24), transparent 65%); }
.stage-glow.g2 { width: 420px; height: 420px; left: -120px; bottom: -160px; background: radial-gradient(circle, rgba(199,240,75,.14), transparent 65%); }
.stage-top { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; }
.stage-logo { width: 44px; height: 44px; border-radius: 13px; background: #1C1E24; border: 1px solid rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; }
.stage-logo svg { width: 32px; height: 32px; }
.stage-brand strong { display: block; font-size: 15px; letter-spacing: .02em; }
.stage-brand small { display: block; font-size: 9px; letter-spacing: .16em; color: #77736A; margin-top: 2px; }
.stage-ver { margin-left: auto; font-size: 10px; font-family: "Bahnschrift", "Segoe UI", sans-serif; color: #77736A; border: 1px solid rgba(255,255,255,.09); padding: 3px 9px; border-radius: 20px; }
.stage-copy { position: relative; z-index: 1; margin: auto 0 0; padding-top: 40px; }
.stage-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 9.5px; font-weight: 700; letter-spacing: .2em; color: #C7F04B; }
.stage-kicker::before { content: ""; width: 26px; height: 1px; background: #C7F04B; }
.stage-copy h1 { font-size: clamp(28px, 3.4vw, 46px); line-height: 1.28; letter-spacing: -.02em; margin: 15px 0 14px; font-weight: 700; }
.stage-copy h1 em { font-style: normal; color: #C7F04B; }
.stage-copy p { max-width: 480px; font-size: 12.5px; line-height: 1.9; color: #918C80; }
.stage-metrics { position: relative; z-index: 1; display: flex; gap: 40px; margin-top: 34px; flex-wrap: wrap; }
.sm-item span { display: block; font-size: 9.5px; color: #7A766D; letter-spacing: .04em; }
.sm-item b { display: block; font-family: "Bahnschrift", "Segoe UI", sans-serif; font-size: 24px; font-weight: 600; color: #F3F0E9; margin-top: 3px; }
.sm-item b em { font-style: normal; font-size: 11px; color: #837E73; margin-left: 3px; }
.stage-strip { position: relative; z-index: 1; margin: 30px 0 0; border-top: 1px solid rgba(255,255,255,.07); border-bottom: 1px solid rgba(255,255,255,.07); overflow: hidden; }
.strip-track { display: flex; gap: 34px; padding: 12px 0; white-space: nowrap; animation: loginTicker 24s linear infinite; }
.strip-track span { font-size: 10.5px; color: #8C877C; display: inline-flex; align-items: center; gap: 6px; }
.strip-track i { color: #C7F04B; font-size: 13px; }
@keyframes loginTicker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.stage-foot { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 14px; margin-top: 22px; font-size: 9.5px; color: #5E5A51; }
.stage-foot span { letter-spacing: .03em; }

.login-panel {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 34px 30px; background: #F4F1EA;
  background-image: radial-gradient(rgba(21,22,26,.045) 1px, transparent 1px); background-size: 18px 18px;
}
.login-panel::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 1px; background: rgba(255,255,255,.06); }
.login-card {
  width: 100%; max-width: 418px; background: #fff; border: 1px solid #E3DCCF; border-radius: 22px;
  padding: 32px 30px 22px; box-shadow: 0 40px 80px -50px rgba(21,22,26,.5), 0 2px 0 rgba(255,255,255,.8) inset;
  animation: loginRise .5s cubic-bezier(.22,.8,.28,1);
}
.register-card { max-width: 500px; }
@keyframes loginRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.login-head { margin-bottom: 22px; }
.login-badge { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 6px; background: #F4F1EA; color: #77746C; font-size: 8.5px; font-weight: 700; letter-spacing: .12em; }
.login-badge i { font-size: 12px; color: #FF3D50; }
.login-head h2 { font-size: 25px; font-weight: 700; letter-spacing: -.02em; margin: 12px 0 4px; }
.login-head p { font-size: 12px; color: #77746C; }
.login-form { display: flex; flex-direction: column; gap: 14px; }
.lf-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.lf-field { display: flex; flex-direction: column; gap: 6px; }
.lf-field > label { font-size: 11.5px; font-weight: 600; color: #2B2D35; }
.lf-input { position: relative; display: flex; align-items: center; border: 1px solid #E3DCCF; background: #FCFBF8; border-radius: 11px; transition: all .18s; }
.lf-input:focus-within { border-color: #15161A; background: #fff; box-shadow: 0 0 0 3px rgba(21,22,26,.06); }
.lf-input > i { position: absolute; left: 12px; font-size: 16px; color: #A9A49A; }
.lf-input input { width: 100%; height: 42px; border: none; background: none; outline: none; padding: 0 40px 0 38px; font-size: 13px; }
.lf-input input::placeholder { color: #B5AFA4; }
.lf-eye { position: absolute; right: 6px; width: 30px; height: 30px; border: none; background: none; color: #A9A49A; font-size: 15px; display: flex; align-items: center; justify-content: center; border-radius: 7px; }
.lf-eye:hover { background: #F4F1EA; color: #15161A; }
.lf-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lf-check { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: #77746C; cursor: pointer; }
.lf-check input { display: none; }
.lf-check .cb { width: 15px; height: 15px; border: 1.5px solid #CFC6B5; border-radius: 4px; position: relative; }
.lf-check input:checked + .cb { background: #15161A; border-color: #15161A; }
.lf-check input:checked + .cb::after { content: ""; position: absolute; left: 4px; top: 1px; width: 5px; height: 8px; border-right: 2px solid #C7F04B; border-bottom: 2px solid #C7F04B; transform: rotate(42deg); }
.lf-hint { font-size: 10px; color: #A9A49A; }
.lf-alert { padding: 9px 11px; border-radius: 8px; background: #FDECEC; color: #C22F2F; font-size: 11.5px; border: 1px solid #F6CFCF; }
.lf-submit {
  display: flex; align-items: center; justify-content: center; gap: 9px; height: 44px; margin-top: 4px;
  background: #15161A; color: #F3F0E9; border: none; border-radius: 11px; font-size: 13.5px; font-weight: 600;
  transition: all .2s; box-shadow: 0 14px 26px -18px rgba(21,22,26,.9);
}
.lf-submit i { color: #C7F04B; font-size: 16px; transition: transform .2s; }
.lf-submit:hover { background: #000; }
.lf-submit:hover i { transform: translateX(3px); }
.lf-submit[disabled] { opacity: .65; pointer-events: none; }
.login-register { text-align: center; margin-top: 18px; font-size: 11.5px; color: #77746C; }
.login-register a { color: #FF3D50; font-weight: 600; border-bottom: 1px solid transparent; }
.login-register a:hover { border-bottom-color: #FF3D50; }
.login-foot { display: flex; justify-content: space-between; gap: 8px; margin-top: 22px; padding-top: 14px; border-top: 1px dashed #E3DCCF; font-size: 9px; color: #A9A49A; }
.login-foot span { display: inline-flex; align-items: center; gap: 4px; }
.login-foot i { font-size: 11px; }
.login-copy { margin-top: 17px; font-size: 9.5px; color: #A9A49A; letter-spacing: .02em; }

@media (max-width: 980px) {
  .login-shell { grid-template-columns: 1fr; }
  .login-stage { padding: 24px 24px 20px; min-height: 0; }
  .stage-copy { padding-top: 26px; }
  .stage-copy h1 { font-size: 27px; }
  .stage-metrics { margin-top: 22px; }
  .stage-strip, .stage-foot { display: none; }
  .login-panel { padding: 26px 16px 34px; }
  .login-card { padding: 26px 20px 20px; }
  .lf-grid { grid-template-columns: 1fr; }
  .login-foot { flex-wrap: wrap; }
}
