#lock-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

#lock-box {
    background: #fff;
    border-radius: 24px;
    padding: 36px 28px 32px;
    width: 320px;
    max-width: 90vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

#lock-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 18px;
    border-radius: 16px;
}

#lock-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1A1A2E;
    margin-bottom: 6px;
    text-align: center;
}

#lock-sub {
    font-size: .82rem;
    color: #6B7280;
    margin-bottom: 22px;
    text-align: center;
}

#lock-input-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 14px;
}

#lock-input {
    width: 100%;
    padding: 12px 44px 12px 16px;
    border: 1.5px solid #E5E0D8;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: #1A1A2E;
    outline: none;
    text-align: center;
    transition: border-color .2s;
}

#lock-input:focus {
    border-color: #FF6B35;
}

#lock-input.error {
    border-color: #ef4444;
    animation: shake .3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25%       { transform: translateX(-6px); }
    75%       { transform: translateX(6px); }
}

#lock-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #6B7280;
    font-size: 1rem;
    padding: 4px;
    line-height: 1;
}

#lock-error {
    font-size: .78rem;
    color: #ef4444;
    margin-bottom: 14px;
    min-height: 18px;
    text-align: center;
}

#lock-btn {
    width: 100%;
    padding: 13px;
    background: #FF6B35;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: .95rem;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

#lock-btn:hover  { background: #e55a24; }
#lock-btn:active { transform: scale(.97); }
