/*
 * 远影归灯：夜间模式兜底
 */

html body.dark-theme,
html body.night {
  --yy-ink: #dce6ef;
  --yy-muted: #aebdca;
  --yy-soft: rgba(255, 255, 255, .075);
  --yy-soft-2: rgba(255, 255, 255, .055);
  --yy-border: rgba(255, 255, 255, .08);
  --yy-card-bg: rgba(28, 36, 46, .86);
  --yy-shadow: 0 18px 42px rgba(0, 0, 0, .24);
  --yy-inner: inset 0 1px 0 rgba(255, 255, 255, .055);
}

html body.dark-theme .zib-widget.account-set,
html body.night .zib-widget.account-set,
html body.dark-theme .modal-mini .modal-content,
html body.night .modal-mini .modal-content,
html body.dark-theme #u_sign .modal-content,
html body.night #u_sign .modal-content {
  border-color: var(--yy-border) !important;
  background:
    radial-gradient(circle at 92% 6%, rgba(198, 157, 94, .10), transparent 30%),
    linear-gradient(180deg, rgba(31, 39, 49, .96), rgba(22, 29, 38, .96)) !important;
  box-shadow: var(--yy-shadow), var(--yy-inner) !important;
}

html body.dark-theme #tab-bind-email .line-form,
html body.night #tab-bind-email .line-form,
html body.dark-theme #tab-bind-phone .line-form,
html body.night #tab-bind-phone .line-form,
html body.dark-theme #tab-change-password .line-form,
html body.night #tab-change-password .line-form {
  border-color: rgba(255, 255, 255, .08) !important;
  background: rgba(255, 255, 255, .055) !important;
}

html body.dark-theme #tab-bind-email .line-form-input,
html body.night #tab-bind-email .line-form-input,
html body.dark-theme #tab-bind-phone .line-form-input,
html body.night #tab-bind-phone .line-form-input,
html body.dark-theme #tab-change-password .line-form-input,
html body.night #tab-change-password .line-form-input {
  color: #dce6ef !important;
}

html body.dark-theme #tab-bind-email .scale-placeholder,
html body.night #tab-bind-email .scale-placeholder,
html body.dark-theme #tab-bind-phone .scale-placeholder,
html body.night #tab-bind-phone .scale-placeholder,
html body.dark-theme #tab-change-password .scale-placeholder,
html body.night #tab-change-password .scale-placeholder {
  color: rgba(203, 216, 228, .58) !important;
}

