/* =========================================================
   离开锁定遮罩（screen_lock.js 配套，topbar"离开锁定"入口）
   70% 黑色半透明全屏层 + 居中解锁弹窗；sl- 前缀隔离
   ========================================================= */
body.sl-lock-scroll {
    overflow: hidden;
}

.sl-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sl-modal {
    width: 380px;
    max-width: 100%;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    padding: 30px 26px 20px;
    text-align: center;
}

.sl-icon {
    color: #4b5563;
    line-height: 1;
    margin-bottom: 8px;
}

.sl-icon iconify-icon {
    font-size: 46px;
}

.sl-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 6px;
}

.sl-sub {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
}

.sl-user {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #111827;
    margin-bottom: 16px;
}

.sl-user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.sl-input {
    text-align: center;
    padding: 8px 12px;
}

.sl-error {
    color: #dc3545;
    font-size: 13px;
    margin-top: 8px;
}

.sl-btn {
    margin-top: 14px;
}

.sl-foot {
    margin-top: 12px;
    font-size: 13px;
}

.sl-foot a {
    color: #6b7280;
    text-decoration: none;
}

.sl-foot a:hover {
    color: #dc3545;
}
