/* PC 注册弹窗 */ .register-pop { position: fixed; inset: 0; z-index: 290; display: none; align-items: center; justify-content: center; padding: 24px; } .register-pop.is-open { display: flex; } .register-pop__mask { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.7); } .register-pop__panel { position: relative; z-index: 1; width: 440px; max-width: 100%; padding: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; background: #141417; border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55); overflow: hidden; } .register-pop__close { position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.04); border-radius: 999px; } .register-pop__close .icon { width: 18px; height: 18px; } .register-pop__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding-right: 40px; } .register-pop__title { margin: 0; color: var(--text); font-size: 28px; font-weight: 600; line-height: 38px; } .register-pop__desc { margin: 0; color: var(--text-muted); font-size: 14px; line-height: 22px; } .register-pop__form { align-self: stretch; display: flex; flex-direction: column; gap: 16px; } .register-pop__field { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; } .register-pop__label { color: var(--text-muted); font-size: 14px; font-weight: 500; line-height: 20px; } .register-pop__control { align-self: stretch; height: 48px; padding: 0 16px; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, 0.06); border: 1px solid transparent; border-radius: 12px; outline: 1px solid transparent; outline-offset: -1px; } .register-pop__control:focus-within { outline-color: rgba(236, 35, 127, 0.45); } .register-pop__field.is-error .register-pop__control { outline-color: #ff5a5f; } .register-pop__error { display: inline-flex; align-items: center; gap: 6px; color: #ff5a5f; font-size: 12px; font-weight: 400; line-height: 18px; } .register-pop__error[hidden] { display: none !important; } .register-pop__error-icon { width: 14px; height: 14px; flex-shrink: 0; } .register-pop__control > .icon { width: 18px; height: 18px; flex-shrink: 0; } .register-pop__input { flex: 1 1 0; min-width: 0; height: 100%; padding: 0; border: 0; outline: none; background: transparent; color: var(--text); font: inherit; font-size: 15px; line-height: 24px; } .register-pop__input::placeholder { color: var(--text-dim); } .register-pop__toggle { width: 18px; height: 18px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--text-dim); } .register-pop__toggle .icon { width: 18px; height: 18px; } .register-pop__agree { display: flex; align-items: flex-start; gap: 10px; color: var(--text-muted); font-size: 13px; line-height: 20px; cursor: pointer; } .register-pop__agree a { color: inherit; text-decoration: underline; text-underline-offset: 2px; } .register-pop__checkbox { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; } .register-pop__check { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; background: transparent; border: 1px solid rgba(255, 255, 255, 0.24); } .register-pop__checkbox:checked + .register-pop__check { border-color: transparent; background: linear-gradient(135deg, #ff4a7b 0%, #ec237f 52%, #93226f 100%); } .register-pop__checkbox:checked + .register-pop__check::after { content: ""; width: 10px; height: 6px; border-left: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: translateY(-1px) rotate(-45deg); } .register-pop__submit { align-self: stretch; height: 52px; padding: 0 28px; font-size: 16px; line-height: 24px; } .register-pop__submit.is-loading, .register-pop__submit:disabled { opacity: 0.72; cursor: wait; } .register-pop__tip { margin: 0; align-self: stretch; padding: 8px 12px; border-radius: 8px; font-size: 13px; line-height: 20px; background: rgba(255, 74, 123, 0.1); color: #ff4a7b; } .register-pop__tip.is-success { background: rgba(30, 120, 70, 0.12); color: #1e7846; } .register-pop__tip[hidden] { display: none !important; } .register-pop__switch { margin: 0; align-self: stretch; display: flex; align-items: center; justify-content: center; gap: 6px; color: var(--text-muted); font-size: 14px; line-height: 22px; } .register-pop__switch a { color: #ff4a7b; font-size: 14px; font-weight: 500; line-height: 20px; } @media (max-width: 768px) { .register-pop { padding: 16px; } .register-pop__panel { max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); padding: 24px 20px; border-radius: 18px; overflow-y: auto; } .register-pop__title { font-size: 24px; line-height: 32px; } }