.dj-xiumi-social .btn img {
    vertical-align: middle;
}

/* 登录/注册页：第三方入口居中 + 加大按钮 */
.dj-auth-social {
    text-align: center;
}
.dj-auth-social__title {
    text-align: center;
    margin-bottom: 0.75rem !important;
}
.dj-auth-social .dj-xiumi-social,
body.dj-auth-page .dj-xiumi-social {
    justify-content: center;
    align-items: center;
    gap: 0.85rem;
}
.dj-auth-social .dj-xiumi-social .btn,
body.dj-auth-page .dj-xiumi-social .btn {
    min-width: 148px;
    padding: 0.7rem 1.25rem;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    border-radius: 10px;
    border-width: 1.5px;
}
.dj-auth-social .dj-xiumi-social .btn img,
body.dj-auth-page .dj-xiumi-social .btn img {
    width: 22px;
    height: 22px;
}

.dj-login-modal__tabs {
    display: flex;
    gap: 8px;
    margin: 0 0 18px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.04);
}

.dj-login-modal__tab {
    flex: 1;
    border: 0;
    background: transparent;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    padding: 12px 8px;
    border-radius: 999px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.dj-login-modal__tab.is-active {
    background: #fff;
    color: #39d353;
    box-shadow: 0 4px 12px rgba(57, 211, 83, 0.16);
}

.dj-login-modal__tab:hover {
    color: #39d353;
}

.dj-login-modal__pane[hidden] {
    display: none !important;
}

.dj-login-modal__scan {
    text-align: center;
    padding: 4px 0 8px;
}

.dj-login-modal__scan-frame {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto 16px;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 24px rgba(55, 99, 170, 0.08);
}

.dj-login-modal__scan-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #fff;
}

.dj-login-modal__scan-mask {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(2px);
}

.dj-login-modal__scan-mask[hidden] {
    display: none !important;
}

.dj-login-modal__scan-mask p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.dj-login-modal__scan-refresh {
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    background: linear-gradient(90deg, #56e06a, #39d353);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.dj-login-modal__scan-tip {
    margin: 0 0 8px;
    font-size: 13px;
    color: var(--dj-text, #333);
    line-height: 1.55;
}

.dj-login-modal__scan-tip strong {
    color: #39d353;
    font-weight: 700;
}

.dj-login-modal__scan-status {
    margin: 0;
    font-size: 13px;
    color: #39d353;
    font-weight: 600;
}

.dj-login-modal__social-btn--sina {
    background: #e6162d;
    box-shadow: 0 6px 16px rgba(230, 22, 45, 0.35);
    color: #fff;
    font-size: 1.1rem;
}
